fix: remove error message when starting local environment

This commit is contained in:
M-Gabrielly 2025-11-03 14:56:26 -03:00
parent 7dbca95bdd
commit 2dc7b00afc

View File

@ -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