forked from RiseUP/riseup-squad20
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} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
eslint: {
|
eslint: {
|
||||||
@ -9,6 +15,9 @@ const nextConfig = {
|
|||||||
images: {
|
images: {
|
||||||
unoptimized: true,
|
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
|
export default nextConfig
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user