Skip to content

Commit b3d0ef5

Browse files
committed
add react compiler and react scan
1 parent 0d876a8 commit b3d0ef5

File tree

4 files changed

+312
-67
lines changed

4 files changed

+312
-67
lines changed

next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ const resolvePackage = (packageName: string) =>
2828
* @type {import('next').NextConfig}
2929
*/
3030
let nextConfig: NextConfig = {
31+
experimental: {
32+
reactCompiler: true,
33+
},
3134
output: process.env.OUTPUT_TYPE as NextConfig["output"],
3235
generateBuildId: process.env.GIT_SHA ? () => process.env.GIT_SHA ?? null : undefined,
3336
typescript: { ignoreBuildErrors: !!process.env.SKIP_CHECKS },

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@mui/lab": "6.0.1-beta.33",
4747
"@mui/material": "6.4.10",
4848
"@mui/material-nextjs": "6.4.3",
49-
"@next/mdx": "15.2.4",
49+
"@next/mdx": "15.3.1",
5050
"@rjsf/core": "5.24.8",
5151
"@rjsf/mui": "5.24.8",
5252
"@rjsf/utils": "5.24.8",
@@ -68,6 +68,7 @@
6868
"@types/react": "19.0.12",
6969
"@types/react-plotly.js": "2.6.3",
7070
"axios": "1.8.4",
71+
"babel-plugin-react-compiler": "19.1.0-rc.1",
7172
"dayjs": "1.11.13",
7273
"filesize": "10.1.6",
7374
"immer": "10.1.1",
@@ -81,7 +82,7 @@
8182
"lodash-es": "4.17.21",
8283
"material-ui-popup-state": "5.3.4",
8384
"nanoid": "5.1.5",
84-
"next": "15.2.4",
85+
"next": "15.3.1",
8586
"next-http-proxy-middleware": "1.2.7",
8687
"nextjs-routes": "2.2.5",
8788
"node-fetch": "3.3.2",
@@ -101,7 +102,7 @@
101102
"devDependencies": {
102103
"@bufbuild/buf": "1.52.1",
103104
"@bufbuild/protoc-gen-es": "2.2.5",
104-
"@next/bundle-analyzer": "15.2.4",
105+
"@next/bundle-analyzer": "15.3.1",
105106
"@playwright/test": "1.51.1",
106107
"@squonk/eslint-config": "2.2.0",
107108
"dotenv": "16.4.7",

0 commit comments

Comments
 (0)