🔧 修改配置文件,package.json 增加node v8 内存

This commit is contained in:
lbw 2023-08-03 13:24:41 +08:00
parent 080bbbed27
commit e84641eaa0

View File

@ -6,8 +6,8 @@
"license": "Apache-2.0",
"scripts": {
"dev": "vite --force",
"build": "vite build",
"build:docker": "vite build --outDir ./docker/dist/",
"build": "NODE_OPTIONS=--max-old-space-size=4096 vite build",
"build:docker": "NODE_OPTIONS=--max-old-space-size=4096 vite build --outDir ./docker/dist/",
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
"prettier": "prettier --write ."
},