Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Oct 19, 2024
1 parent e8a923f commit b61592a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 4.3.3 (2024-10-19)

### React Compiler runtimeModule option removed

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

```bash
npm install react-compiler-runtime
npm install babel-plugin-react-compiler react-compiler-runtime @babel/plugin-transform-react-jsx-development
```

```ts
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-react",
"version": "4.3.2",
"version": "4.3.3",
"license": "MIT",
"author": "Evan You",
"contributors": [
Expand Down

0 comments on commit b61592a

Please sign in to comment.