Skip to content

Commit b61592a

Browse files
committed
1 parent e8a923f commit b61592a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/plugin-react/CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## 4.3.3 (2024-10-19)
6+
57
### React Compiler runtimeModule option removed
68

79
React Compiler was updated to accept a `target` option and `runtimeModule` was removed. vite-plugin-react will still detect `runtimeModule` for backwards compatibility.
@@ -13,7 +15,7 @@ The [react-compiler-runtime](https://www.npmjs.com/package/react-compiler-runtim
1315
Here is the configuration to use the compiler with React 18 and correct source maps in development:
1416

1517
```bash
16-
npm install react-compiler-runtime
18+
npm install babel-plugin-react-compiler react-compiler-runtime @babel/plugin-transform-react-jsx-development
1719
```
1820

1921
```ts

packages/plugin-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vitejs/plugin-react",
3-
"version": "4.3.2",
3+
"version": "4.3.3",
44
"license": "MIT",
55
"author": "Evan You",
66
"contributors": [

0 commit comments

Comments
 (0)