mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
chore: enable React Compiler in Next.js configuration
This commit is contained in:
parent
9731eeb530
commit
c520d415e8
@ -23,6 +23,7 @@ const withPWA = withPWAInit({
|
||||
const nextConfig = {
|
||||
experimental: {
|
||||
inlineCss: true,
|
||||
reactCompiler: true,
|
||||
serverActions: {
|
||||
allowedOrigins: ["*"],
|
||||
},
|
||||
|
@ -29,6 +29,7 @@
|
||||
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
||||
"@types/d3-geo": "^3.1.0",
|
||||
"@types/luxon": "^3.4.2",
|
||||
"babel-plugin-react-compiler": "^19.0.0-beta-27714ef-20250124",
|
||||
"caniuse-lite": "^1.0.30001696",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user