diff --git a/next.config.ts b/next.config.ts index 4410b96..d622ae8 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,9 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { serverExternalPackages: ["pdf-parse"], + outputFileTracingIncludes: { + "/*": ["./node_modules/pdfjs-dist/legacy/build/pdf.worker.mjs"], + }, }; export default nextConfig;