After updating to 0.1.231, the built-in PDF.js viewer no longer works. The PDF opens, but the translation tooltip feature is completely non-functional.
The browser console shows this error on viewer.html:
viewer.html?file=/pdf_demo.pdf:1 Uncaught TypeError:
Failed to resolve module specifier "deepmerge".
Relative references must start with either "/", "./", or "../".
It looks like deepmerge is being imported as a bare module specifier in the viewer bundle, which the browser's native ES module loader can't resolve. This seems to be a build/bundling regression introduced in 0.1.231 — it was working fine in 0.1.230.
- OS: Windows 11
- Browser: Brave / Chrome
- Extension version: 0.1.231
- Use case: local PDF (file://) translation, English/German → Korean
Could you check the viewer build config for 0.1.231? Thanks for maintaining this extension.
After updating to 0.1.231, the built-in PDF.js viewer no longer works. The PDF opens, but the translation tooltip feature is completely non-functional.
The browser console shows this error on viewer.html:
It looks like
deepmergeis being imported as a bare module specifier in the viewer bundle, which the browser's native ES module loader can't resolve. This seems to be a build/bundling regression introduced in 0.1.231 — it was working fine in 0.1.230.Could you check the viewer build config for 0.1.231? Thanks for maintaining this extension.