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
Is your feature request related to a problem? Please describe
Latest versions of pdfjs are built as JavaScript modules (.mjs). When trying to load it with ui.script() I'm getting the following error Uncaught SyntaxError: Unexpected token 'export' (at pdf.min.mjs:4108:1).
Is your feature request related to a problem? Please describe
Latest versions of
pdfjs
are built as JavaScript modules (.mjs
). When trying to load it withui.script()
I'm getting the following errorUncaught SyntaxError: Unexpected token 'export' (at pdf.min.mjs:4108:1)
.Describe the solution you'd like
Add the
type
attribute toui.script()
and be able to specifytype="module"
attribute to HTML <script> element as specified here https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type.The text was updated successfully, but these errors were encountered: