vite
vite copied to clipboard
[plugin react] use esbuild's automatic JSX transform instead of babel
Description
The latest version of esbuild has supported React 17's automatic JSX transform, see https://github.com/evanw/esbuild/releases/tag/v0.14.51
Is it possible to drop babel related packages now? It looks like there will be a big performance boost
I'm willing to submit a PR if it's as expected
Suggested solution
As the description section suggests, use esbuild to replace babel
Alternative
No response
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.