Closed stefanwuthrich closed 3 months ago
With:
[ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)
node_modules/pdfjs-dist/build/pdf.mjs:19764:53: 19764 │ ...rts__ = globalThis.pdfjsLib = await (globalThis.pdfjsLibPromise =... ╵ ~~~~~
that did not happen with earlier vite/vue versions
That was an Issue with the recently versions of pdfjs, You can find details and solution here #115
thank you very much. resolved.
With:
[ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)
that did not happen with earlier vite/vue versions