vite-plugin-react-swc

Speed up your Vite dev server with SWC

MIT License

Downloads
5.2M
Stars
732
Committers
8

Bot releases are visible (Hide)

vite-plugin-react-swc - v2.0.1

Published by github-actions[bot] about 2 years ago

Fix esbuild property in documentation.

vite-plugin-react-swc - v2.0.0

Published by github-actions[bot] about 2 years ago

Breaking: Use named export instead of default export for better esm/cjs interop.

To migrate, replace your import by import { swcReactRefresh } from "vite-plugin-swc-react-refresh";

The JSX automatic runtime is also now supported if you bump esbuild to at least 0.14.51.

To use it, update your config from esbuild: { jsxInject: 'import React from "react"' }, to esbuild: { jsx: "automatic" },

vite-plugin-react-swc - v0.1.2

Published by github-actions[bot] over 2 years ago

  • Add vite as peer dependency
  • Pin @swc/core version to 1.2.141 to avoid a 30mb bump of bundle size
vite-plugin-react-swc - v0.1.1

Published by ArnaudBarre over 2 years ago

Add LICENSE

vite-plugin-react-swc - v0.1.0

Published by ArnaudBarre over 2 years ago

Initial release