You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because esbuild is use for dependency pre-bundling and doesn't support decorators for non TS files: evanw/esbuild#104 (comment) (and that's fine, that's still a proposal).
Describe the bug
When running
vite
in development mode,@babel/plugin-proposal-decorators
is not properly applied and any decorator causes anunexpected symbol
error.Reproduction
https://github.com/drthoben/vite-decorators-problem
Steps to reproduce
Run
yarn
to install dependencies.Then run
yarn build
. Thebuild
command is running as expected.Running
yarn dev
results in the following error:System Info
Used Package Manager
yarn
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: