We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7445c98 commit 4f4d8a4Copy full SHA for 4f4d8a4
example/webpack.config.js
@@ -46,7 +46,7 @@ module.exports = {
46
// This causes issues if we have gone offline before the pdfjs web worker is set up as we won't be able to load it from the server.
47
{
48
// eslint-disable-next-line prefer-regex-literals
49
- test: new RegExp('node_modules/pdfjs-dist/legacy/build/pdf.worker.js'),
+ test: new RegExp('node_modules/pdfjs-dist/legacy/build/pdf.worker.min.mjs'),
50
type: 'asset/source',
51
},
52
],
0 commit comments