Jelajahi Sumber

😎默认node内存8G

zuohuaijun 1 tahun lalu
induk
melakukan
e8040fa2fa
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      Web/package.json

+ 2 - 2
Web/package.json

@@ -8,7 +8,7 @@
 	"license": "MIT",
 	"scripts": {
 		"dev": "vite",
-		"build": "vite build",
+		"build": "node --max-old-space-size=8192 ./node_modules/vite/bin/vite build",
 		"lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/",
 		"build-api": "cd api_build/ && build.bat"
 	},
@@ -18,7 +18,7 @@
 		"@logicflow/extension": "^1.2.27",
 		"@microsoft/signalr": "^8.0.7",
 		"@vue-office/docx": "^1.6.2",
-		"@vue-office/excel": "^1.7.10",
+		"@vue-office/excel": "^1.7.11",
 		"@vue-office/pdf": "^2.0.2",
 		"@vueuse/core": "^10.11.0",
 		"@wangeditor/editor": "^5.1.23",