vite icon indicating copy to clipboard operation
vite copied to clipboard

[plugin react] use esbuild's automatic JSX transform instead of babel

Open pd4d10 opened this issue 3 years ago • 0 comments

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

pd4d10 avatar Jul 29 '22 06:07 pd4d10