Skip to content

Commit 8315f9e

Browse files
authored
fix(template): bump react-swc plugin version (#13699)
1 parent e48d35d commit 8315f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-vite/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ function setupReactSwc(root: string, isTs: boolean) {
483483
editFile(path.resolve(root, 'package.json'), (content) => {
484484
return content.replace(
485485
/"@vitejs\/plugin-react": ".+?"/,
486-
`"@vitejs/plugin-react-swc": "^3.0.0"`,
486+
`"@vitejs/plugin-react-swc": "^3.3.2"`,
487487
)
488488
})
489489
editFile(

0 commit comments

Comments
 (0)