build 添加 环境变量 NODE_ENV=production
This commit is contained in:
parent
ba409a63c7
commit
021d7771dd
@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"start": "npm run serve",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"build": "vue-cli-service build NODE_ENV=production",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user