Closed smoores-dev closed 4 months ago
I'm just seeing that it looks like this may have been resolved in @quasar/app-vite@2.0.0-beta
; is it possible to backport this upgrade to the stable v1.9.x
releases, or was there a breaking change that makes that infeasible? Sorry for the noise if this has already been discussed and addressed!
It's best if you use the new q/app betas instead. Will try to figure out if we can upgrade esbuild in the old q/app too, but without breaking changes.
Upgraded esbuild will be available only for the q/app betas.
What happened?
When attempting to use the
satisfies
operator from Typescript 4.9,@quasar/app-vite
failed with aTransform failed ... Expected ";" but found "satisfies"
error.What did you expect to happen?
Quasar/esbuild should successfully handle modern Typescript syntax
Reproduction URL
https://stackblitz.com/edit/quasarframework-b9u6h7?file=src%2Fcomponents%2FEssentialLink.vue
How to reproduce?
Run the StackBlitz in the reproduction link. It will immediately fail.
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
Firefox, Chrome, Safari, Microsoft Edge, iOS, Android, Electron
Quasar info output
Relevant log output
Additional context
This is due to
@quasar/app-vite
depending on a pinned, old version ofesbuild
that doesn't yet have support for thesatisfies
operator. Support was added inv0.15.13
.