NickOooo 8 mesiacov pred
rodič
commit
d82704cf50
2 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 2 2
      .env.production
  2. 1 0
      package.json

+ 2 - 2
.env.production

@@ -1,4 +1,4 @@
-NODE_ENV=development
+NODE_ENV=production
 
 VUE_APP_ENV=production
 
@@ -10,4 +10,4 @@ VUE_APP_WatermarkJsUrl="http://wmk-pv.saicmotor.com"
 
 VUE_APP_Wmshost="wmk-pv.saicmotor.com:80"
 
-VUE_APP_Water_Name="dfmea-pv-网页水印"
+VUE_APP_Water_Name="dfmea-pv-网页水印"

+ 1 - 0
package.json

@@ -9,6 +9,7 @@
     "localDev": "node removeWatermarkForGoJs && vue-cli-service serve --mode localDev --port 8084",
     "build": "node removeWatermarkForGoJs && vue-cli-service build",
     "build:test": "node removeWatermarkForGoJs && vue-cli-service build --mode test",
+    "build:production": "node removeWatermarkForGoJs && vue-cli-service build --mode production",
     "build:test8080": "node removeWatermarkForGoJs && vue-cli-service build --mode test8080",
     "build:test57_171_8080": "node removeWatermarkForGoJs && vue-cli-service build --mode test57_171_8080",
     "build:uat": "node removeWatermarkForGoJs && vue-cli-service build --mode uat",