Skip to content

Commit

Permalink
fix(template): bump react-swc plugin version (#13699)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Jul 3, 2023
1 parent e48d35d commit 8315f9e
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 @@ -483,7 +483,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.0.0"`,
`"@vitejs/plugin-react-swc": "^3.3.2"`,
)
})
editFile(
Expand Down

0 comments on commit 8315f9e

Please sign in to comment.