From f429277fc33d0b61a3bf0368f18761fd8ac59b97 Mon Sep 17 00:00:00 2001 From: Gabriel Ramos Date: Wed, 10 Jun 2026 18:42:11 -0400 Subject: [PATCH] chore(config): add outputFileTracingIncludes for pdf.worker.mjs --- next.config.ts | 3 +++ 1 file changed, 3 insertions(+) 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;