fix: remove error message when starting local environment
This commit is contained in:
parent
7dbca95bdd
commit
2dc7b00afc
@ -1,3 +1,9 @@
|
||||
import { fileURLToPath } from 'url'
|
||||
import { dirname } from 'path'
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = dirname(__filename)
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
eslint: {
|
||||
@ -9,6 +15,9 @@ const nextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
// Define explicit output tracing root to silence Next.js workspace root warning
|
||||
// Set to the current package directory (susconecta)
|
||||
outputFileTracingRoot: __dirname,
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user