vite-plugin-react-esbuild
v0.1.2
Published
vite-plugin-vite-plugin-react-esbuild
Downloads
431
Readme
vite-plugin-react-esbuild
- Development. HMR based on react-refresh and babel, transform jsx and ts via esbuild.
- Production. All using esbuild.
Motivation
Enjoy the speed of esbuild before using it in @vitejs/plugin-react.
Installation
pnpm add vite-plugin-react-esbuild -D
Usage
import { defineConfig } from 'vite'
import react from 'vite-plugin-react-esbuild'
export default defineConfig({
plugins: [react({
})],
})
Options
Same options as @vitejs/plugin-react