mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-06 22:26:42 +08:00
增加用于开发环境发布的环境配置文件。目的:启用代码压缩
This commit is contained in:
7
.env.development-deploy
Normal file
7
.env.development-deploy
Normal file
@@ -0,0 +1,7 @@
|
||||
# env 用于前端dev环境发布。与.env.development的区别:NODE_ENV = production,开启代码压缩
|
||||
NODE_ENV = 'production'
|
||||
|
||||
# flag
|
||||
VUE_APP_FLAG='development'
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build:dev": "vue-cli-service build --mode development-deploy",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"lint": "vue-cli-service lint",
|
||||
|
||||
Reference in New Issue
Block a user