Add outputFileTracingIncludes to next.config.mjs

This commit includes the outputFileTracingIncludes configuration in the next.config.mjs file. This is done to specify which files should be included in the output file tracing, in this case, all files in the /content directory.
This commit is contained in:
giancarlo
2024-05-02 01:18:00 +07:00
parent 65e8dab1b2
commit 3f4888faa9

View File

@@ -37,6 +37,10 @@ const config = {
turbo: {
resolveExtensions: ['.ts', '.tsx', '.js', '.jsx'],
},
// needed for supporting dynamic imports for local content
outputFileTracingIncludes: {
"/*": ["./content/**/*"],
},
optimizePackageImports: [
'recharts',
'lucide-react',