diff --git a/next.config.mjs b/next.config.mjs index 5770f76..a6a8011 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -11,6 +11,13 @@ const nextConfig = { ], }, 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: { NEXT_PUBLIC_VERSION: pkg.version, },