perf: monaco-editor 改为动态导入,移除内存限制 - 降低构建资源需求

This commit is contained in:
2026-04-20 06:41:50 +08:00
parent e505ccd76e
commit b71c75e86f
2 changed files with 5 additions and 34 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "NODE_OPTIONS=--max-old-space-size=6144 tsc && vite build",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {