Skip to content

Commit c008f7e

Browse files
committed
⚡ Try the React Compiler
1 parent 51fd873 commit c008f7e

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

bun.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4+
reactCompiler: true,
45
typescript: {
56
ignoreBuildErrors: true,
67
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"@types/node": "^20",
5656
"@types/react": "19.2.7",
5757
"@types/react-dom": "19.2.3",
58+
"babel-plugin-react-compiler": "^1.0.0",
5859
"eslint": "^9",
5960
"eslint-config-next": "16.1.0",
6061
"eslint-config-prettier": "^10.1.8",

0 commit comments

Comments
 (0)