Changes
- fix(vite-plugin): treeshaking with custom Vite modes -> production builds started with a custom mode name (
vite build --mode qa,--mode staging, ...) treeshake Quasar imports again. The gate compared Vite'smodeagainstproduction, but the mode is only an env-file selector, so any custom name silently disabled treeshaking and left barequasarimports in the production bundle (+22kb min with current quasar, far more on older versions). It now followsisProduction/NODE_ENV, the same way Vite and Vue decide the build flavor; dev serve and Vitest runs are unchanged (#17267) - fix(vite-plugin): "untransformable quasar import" warnings -> no more false positives on TypeScript and JSX sources. Those files could not be parsed and fell back to trusting a plain textual pre-filter, so a
quasarimport shape written inside a string (a documentation snippet, for instance) was reported as a residual import. Sources are now parsed with their actual dialect, and TS type-only imports/exports fromquasar-- erased at transpile time -- are no longer flagged either. Internally this also moves off Vite 8's deprecatedparseAstonto its OXC-backed parser.
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: