Skip to content

Commit ac352f8

Browse files
feat: enable react-compiler
1 parent 9c283aa commit ac352f8

File tree

3 files changed

+44
-8
lines changed

3 files changed

+44
-8
lines changed

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ const config = {
1313
ignoreBuildErrors: true,
1414
},
1515
output: "standalone",
16+
experimental: {
17+
reactCompiler: true
18+
}
1619
};
1720

1821
export default config;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"@trpc/next": "11.1.1",
3838
"@trpc/react-query": "11.1.1",
3939
"@trpc/tanstack-react-query": "11.1.1",
40+
"babel-plugin-react-compiler": "19.1.0-rc.2",
4041
"better-auth": "^1.2.7",
4142
"class-variance-authority": "^0.7.1",
4243
"clsx": "^2.1.1",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)