Plugins
NOTE
Vite aims to provide out-of-the-box support for common web development patterns. Before searching for a Vite or Compatible Rollup plugin, check out the Features Guide. A lot of the cases where a plugin would be needed in a Rollup project are already covered in Vite.
Official Plugins
@vitejs/plugin-vue
- Provides Vue 3 Single File Components support.
@vitejs/plugin-vue-jsx
- Provides Vue 3 JSX support (via dedicated Babel transform).
@vitejs/plugin-react
- Provides all-in-one React Support.
@vitejs/plugin-legacy
- Provides legacy browsers support for the production build.
Community Plugins
Check out awesome-vite - you can also submit a PR to list your plugins there.
Rollup Plugins
Vite plugins are an extension of Rollup's plugin interface. Check out the Rollup Plugin Compatibility section for more information.