Skip to content

Commit

Permalink
chore(create-vite): update @vitejs/plugin-react-swc version (#19384)
Browse files Browse the repository at this point in the history
  • Loading branch information
btea authored Feb 8, 2025
1 parent 0b17ab3 commit 39fab6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ function setupReactSwc(root: string, isTs: boolean) {
editFile(path.resolve(root, 'package.json'), (content) => {
return content.replace(
/"@vitejs\/plugin-react": ".+?"/,
`"@vitejs/plugin-react-swc": "^3.5.0"`,
`"@vitejs/plugin-react-swc": "^3.7.2"`,
)
})
editFile(
Expand Down

0 comments on commit 39fab6d

Please sign in to comment.