Skip to content

Commit bf1453e

Browse files
committed
release: plugin-react@4.1.0
1 parent 25fe88a commit bf1453e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

packages/plugin-react/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
## Unreleased
44

5-
- Fix [#211](https://github.com/vitejs/vite-plugin-react/issues/211): Add `@types/babel__cores` to dependencies
5+
## 4.1.0 (2023-09-24)
6+
7+
- Add `@types/babel__cores` to dependencies (fix [#211](https://github.com/vitejs/vite-plugin-react/issues/211))
8+
- Improve build perf when not using Babel plugins by lazy loading `@babel/core` [#212](https://github.com/vitejs/vite-plugin-react/pull/212)
9+
- Better invalidation message when an export is added & fix HMR for export of nullish values [#215](https://github.com/vitejs/vite-plugin-react/pull/215)
10+
- Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime [#224](https://github.com/vitejs/vite-plugin-react/pull/224)
11+
- The build output now contains a `index.d.cts` file so you don't get types errors when setting `moduleResolution` to `node16` or `nodenext` in your tsconfig (we recommend using `bundler` which is more close to how Vite works)
612

713
## 4.0.4 (2023-07-31)
814

packages/plugin-react/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vitejs/plugin-react",
3-
"version": "4.0.4",
3+
"version": "4.1.0",
44
"license": "MIT",
55
"author": "Evan You",
66
"contributors": [
@@ -15,7 +15,6 @@
1515
"types": "./dist/index.d.ts",
1616
"exports": {
1717
".": {
18-
"types": "./dist/index.d.ts",
1918
"import": "./dist/index.mjs",
2019
"require": "./dist/index.cjs"
2120
}

0 commit comments

Comments
 (0)