Trying to build Quasar/Vite app #16568
Labels
area/cli
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
I am trying to build Quasar/Vite SPA app using Import meta url, and I am getting very weird error.
Everything is working in dev mode, all images, including dynamic ones, are resolving, but build is failing.
I'm attaching demo of this issue. If you were to avoid using
${}
for some reason build passes on this example, but I tried to do that in my app and it doesn't work. There's definitely some issue with Quasar/Vite dynamic assets, I'm just curious what's causing the bug? I can always switch to public folder, but I wanted to usesrc/assets
.What did you expect to happen?
I expect build to pass. I would like to know if anyone has same issues? And if there's some magic config for handling this?
Reproduction URL
https://stackblitz.com/edit/quasarframework-bpl63d?file=src%2Fpages%2FIndexPage.vue
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: