mirror of
https://github.com/stoatchat/service-admin-panel.git
synced 2026-06-30 21:47:56 -04:00
feat: switch to react compiler
This commit is contained in:
+7
-1
@@ -1,3 +1,9 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
"extends": "next/core-web-vitals",
|
||||
"plugins": [
|
||||
"eslint-plugin-react-compiler"
|
||||
],
|
||||
"rules": {
|
||||
"react-compiler/react-compiler": "error"
|
||||
}
|
||||
}
|
||||
|
||||
+6
-2
@@ -1,4 +1,8 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {}
|
||||
const nextConfig = {
|
||||
experimental: {
|
||||
reactCompiler: true,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig
|
||||
module.exports = nextConfig;
|
||||
|
||||
+5
-3
@@ -18,14 +18,16 @@
|
||||
"@tensorflow/tfjs-node": "^4.17.0",
|
||||
"archiver": "^7.0.1",
|
||||
"archiver-zip-encrypted": "^2.0.0",
|
||||
"babel-plugin-react-compiler": "^0.0.0-experimental-1f3db3d-20240818",
|
||||
"dayjs": "^1.11.10",
|
||||
"eslint-plugin-react-compiler": "experimental",
|
||||
"lru-cache": "^10.2.0",
|
||||
"mongodb": "^6.3.0",
|
||||
"next": "^14.2.5",
|
||||
"next": "rc",
|
||||
"next-auth": "^4.24.5",
|
||||
"node-cron": "^3.0.3",
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
"react": "rc",
|
||||
"react-dom": "rc",
|
||||
"react-markdown": "^9.0.1",
|
||||
"redis": "^4.6.13",
|
||||
"revolt-api": "^0.6.9",
|
||||
|
||||
Reference in New Issue
Block a user