From 0987ee4370571c78b5d349bb854043bb2de0f58c Mon Sep 17 00:00:00 2001 From: ItzCrazyKns <95534749+ItzCrazyKns@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:29:11 +0530 Subject: [PATCH] Update next.config.mjs --- next.config.mjs | 7 +++++++ 1 file changed, 7 insertions(+) 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, },