Skip to content

Commit 39fab6d

Browse files
authored
chore(create-vite): update @vitejs/plugin-react-swc version (#19384)
1 parent 0b17ab3 commit 39fab6d

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
@@ -596,7 +596,7 @@ function setupReactSwc(root: string, isTs: boolean) {
596596
editFile(path.resolve(root, 'package.json'), (content) => {
597597
return content.replace(
598598
/"@vitejs\/plugin-react": ".+?"/,
599-
`"@vitejs/plugin-react-swc": "^3.5.0"`,
599+
`"@vitejs/plugin-react-swc": "^3.7.2"`,
600600
)
601601
})
602602
editFile(

0 commit comments

Comments
 (0)