Skip to content

Commit 0987ee4

Browse files
committed
Update next.config.mjs
1 parent d1bd227 commit 0987ee4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

next.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ const nextConfig = {
1111
],
1212
},
1313
serverExternalPackages: ['pdf-parse'],
14+
outputFileTracingIncludes: {
15+
'/api/**': [
16+
'./node_modules/@napi-rs/canvas/**',
17+
'./node_modules/@napi-rs/canvas-linux-x64-gnu/**',
18+
'./node_modules/@napi-rs/canvas-linux-x64-musl/**',
19+
],
20+
},
1421
env: {
1522
NEXT_PUBLIC_VERSION: pkg.version,
1623
},

0 commit comments

Comments
 (0)