You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Search in the node_modules\pdfjs-dist\legacy\build\pdf.min.mjs file for pdfjsLib string.
What is the expected behavior? (add screenshot)
It should be found and exposed on the window object when loaded in the browser.
What went wrong? (add screenshot)
The pdfjsLib is not exposed anymore. It is exposed instead on all other build options:
node_modules\pdfjs-dist\legacy\build\pdf.mjs
node_modules\pdfjs-dist\build\pdf.min.mjs
node_modules\pdfjs-dist\build\pdf.mjs
I can see that the tweakWebpackOutput function in the gulpfile expects the string ",__webpack_exports__={};" to exist in the minified file. But looking at the published minified file it looks like this var __webpack_exports__={};. Is this a webpack issue?
The text was updated successfully, but these errors were encountered:
Configuration:
Steps to reproduce the problem:
node_modules\pdfjs-dist\legacy\build\pdf.min.mjs
file forpdfjsLib
string.What is the expected behavior? (add screenshot)
It should be found and exposed on the window object when loaded in the browser.
What went wrong? (add screenshot)
The
pdfjsLib
is not exposed anymore. It is exposed instead on all other build options:node_modules\pdfjs-dist\legacy\build\pdf.mjs
node_modules\pdfjs-dist\build\pdf.min.mjs
node_modules\pdfjs-dist\build\pdf.mjs
I can see that the
tweakWebpackOutput
function in the gulpfile expects the string",__webpack_exports__={};"
to exist in the minified file. But looking at the published minified file it looks like thisvar __webpack_exports__={};
. Is this a webpack issue?The text was updated successfully, but these errors were encountered: