chore(config): add outputFileTracingIncludes for pdf.worker.mjs
This commit is contained in:
parent
c6024efcef
commit
f429277fc3
1 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,9 @@ import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
serverExternalPackages: ["pdf-parse"],
|
serverExternalPackages: ["pdf-parse"],
|
||||||
|
outputFileTracingIncludes: {
|
||||||
|
"/*": ["./node_modules/pdfjs-dist/legacy/build/pdf.worker.mjs"],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue