Skip to content

Commit

Permalink
feat: update peer dep for Vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Nov 16, 2023
1 parent 3b6967f commit 819f6f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Update peer dependency range to target Vite 5

There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.

### Align jsx runtime for optimized dependencies

This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have `React` in the scope.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@swc/core": "^1.3.96"
},
"peerDependencies": {
"vite": "^4"
"vite": "^4 || ^5"
},
"devDependencies": {
"@arnaud-barre/tnode": "^0.19.2",
Expand Down

0 comments on commit 819f6f5

Please sign in to comment.