Importing items from quasar module while inside a web worker throws error #17747
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/spa
Qv2 🔝
Quasar v2 issues
What happened?
An error is thrown and web worker does not work.
What did you expect to happen?
I would expect normal operation and web worker to work as expected.
Reproduction URL
https://stackblitz.com/edit/stackblitz-starters-okqx6nox?file=src%2Fpages%2FIndexPage.vue
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar), SPA Mode
Platforms/Browsers
Firefox, Chrome, Microsoft Edge
Quasar info output
Relevant log output
Additional context
Found this issue while upgrading an app from a webpack build to a vite build. This feature worked fine in the webpack build.
The text was updated successfully, but these errors were encountered: