Skip to content

Commit 84079a8

Browse files
sapphi-redbluwy
andauthored
docs: update plugins page (#20649)
Co-authored-by: Bjorn Lu <[email protected]>
1 parent aa3323d commit 84079a8

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

docs/plugins/index.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,23 @@ Check out [Using Plugins](../guide/using-plugins) for information on how to use
1010

1111
### [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue)
1212

13-
- Provides Vue 3 Single File Components support.
13+
Provides Vue 3 Single File Components support.
1414

1515
### [@vitejs/plugin-vue-jsx](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue-jsx)
1616

17-
- Provides Vue 3 JSX support (via [dedicated Babel transform](https://github.com/vuejs/jsx-next)).
18-
19-
### [@vitejs/plugin-vue2](https://github.com/vitejs/vite-plugin-vue2)
20-
21-
- Provides Vue 2.7 Single File Components support.
22-
23-
### [@vitejs/plugin-vue2-jsx](https://github.com/vitejs/vite-plugin-vue2-jsx)
24-
25-
- Provides Vue 2.7 JSX support (via [dedicated Babel transform](https://github.com/vuejs/jsx-vue2/)).
17+
Provides Vue 3 JSX support (via [dedicated Babel transform](https://github.com/vuejs/babel-plugin-jsx)).
2618

2719
### [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react)
2820

29-
- Uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the Babel transform pipeline. Without additional Babel plugins, only esbuild is used during builds.
21+
Uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the Babel transform pipeline. Without additional Babel plugins, only esbuild is used during builds.
3022

31-
### [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc)
23+
### [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc)
3224

33-
- Replaces Babel with SWC during development. During production builds, SWC+esbuild are used when using plugins, and esbuild only otherwise. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.
25+
Replaces Babel with SWC during development. During production builds, SWC+esbuild are used when using plugins, and esbuild only otherwise. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.
3426

3527
### [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy)
3628

37-
- Provides legacy browsers support for the production build.
29+
Provides legacy browsers support for the production build.
3830

3931
## Community Plugins
4032

0 commit comments

Comments
 (0)