From 8b5354741a173ce02892ff021c8bdfba4c9f0d11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Mon, 4 Dec 2023 18:52:37 +0100 Subject: [PATCH] release: plugin-react@4.2.1 --- packages/plugin-react/CHANGELOG.md | 2 ++ packages/plugin-react/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/plugin-react/CHANGELOG.md b/packages/plugin-react/CHANGELOG.md index 6234141..fb2a341 100644 --- a/packages/plugin-react/CHANGELOG.md +++ b/packages/plugin-react/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 4.2.1 (2023-12-04) + Remove generic parameter on `Plugin` to avoid type error with Rollup 4/Vite 5 and `skipLibCheck: false`. I expect very few people to currently use this feature, but if you are extending the React plugin via `api` object, you can get back the typing of the hook by importing `ViteReactPluginApi`: diff --git a/packages/plugin-react/package.json b/packages/plugin-react/package.json index 07ccec7..69f00ed 100644 --- a/packages/plugin-react/package.json +++ b/packages/plugin-react/package.json @@ -1,6 +1,6 @@ { "name": "@vitejs/plugin-react", - "version": "4.2.0", + "version": "4.2.1", "license": "MIT", "author": "Evan You", "contributors": [