Update next.config.mjs

This commit is contained in:
ItzCrazyKns
2025-12-27 20:29:11 +05:30
parent d1bd22786d
commit 0987ee4370

View File

@@ -11,6 +11,13 @@ const nextConfig = {
], ],
}, },
serverExternalPackages: ['pdf-parse'], serverExternalPackages: ['pdf-parse'],
outputFileTracingIncludes: {
'/api/**': [
'./node_modules/@napi-rs/canvas/**',
'./node_modules/@napi-rs/canvas-linux-x64-gnu/**',
'./node_modules/@napi-rs/canvas-linux-x64-musl/**',
],
},
env: { env: {
NEXT_PUBLIC_VERSION: pkg.version, NEXT_PUBLIC_VERSION: pkg.version,
}, },