From 819f6f5e0b6dbfcd1d10b10c8cd8ec16cf05eceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Thu, 16 Nov 2023 15:07:53 +0100 Subject: [PATCH] feat: update peer dep for Vite 5 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 090d052..946f62f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/package.json b/package.json index f1c201e..7d56646 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "@swc/core": "^1.3.96" }, "peerDependencies": { - "vite": "^4" + "vite": "^4 || ^5" }, "devDependencies": { "@arnaud-barre/tnode": "^0.19.2",