Changes
- fix(vite-plugin): client bundle alias with custom Vite modes -> production builds started with a custom mode name (
vite build --mode qa,--mode staging, ...) no longer get the dev-server treatment. The plugin picked between aliasing barequasarimports to the single-file client build and excluding quasar from dep prebundling by comparing Vite'smodeagainstproduction, but the mode is only an env-file selector. The alias now followscommand === 'serve', which is exactly what it was meant for: cutting the number of requests the dev server has to answer. TheoptimizeDeps.excludehalf was dead weight and is gone, since Vite no longer prebundles deps during builds (#17942)
Donations
Quasar Framework is an open-source MIT-licensed project made possible due to the generous contributions by sponsors and backers. If Quasar is useful in your workflow and you want to support ongoing maintenance, please consider the following: