!58 🔧 修改配置文件,修改 node v8 打包内存

Merge pull request !58 from ipod/N/A
This commit is contained in:
lengleng 2023-08-06 01:44:26 +00:00 committed by Gitee
commit c2d531c248
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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 ."
},