Browse Source

Merge remote-tracking branch 'origin/dev-2.19.0' into dev-2.19.0

Lita-Tako 5 months ago
parent
commit
7e33ad1021
3 changed files with 10 additions and 2 deletions
  1. 5 1
      .env.prod
  2. 4 0
      .env.test
  3. 1 1
      package.json

+ 5 - 1
.env.prod

@@ -1,5 +1,9 @@
1 1
 
2
-NODE_ENV = production
2
+NODE_ENV = prod
3
+
4
+# 标题
5
+VITE_TITLE = Snowy
6
+
3 7
 VITE_API_BASEURL = http://172.18.93.196:80/province
4 8
 # 本地端口-政务云
5 9
 VITE_PORT = 80

+ 4 - 0
.env.test

@@ -1,5 +1,9 @@
1 1
 
2 2
 NODE_ENV = test
3
+
4
+# 标题
5
+VITE_TITLE = Snowy
6
+
3 7
 VITE_API_BASEURL = http://101.36.160.210:31055/province
4 8
 # 本地端口-政务云
5 9
 VITE_PORT = 80

+ 1 - 1
package.json

@@ -15,7 +15,7 @@
15 15
 		"preview": "vite preview",
16 16
 		"build": "vite build --mode production",
17 17
 		"prod": "vite  --mode production",
18
-		"build:prod": "node --max_old_space_size=8192 node_modules/vite/bin/vite.js build --mode production",
18
+		"build:prod": "node --max_old_space_size=8192 node_modules/vite/bin/vite.js build --mode prod",
19 19
     "build:test": "node --max_old_space_size=8192 node_modules/vite/bin/vite.js build --mode test"
20 20
 	},
21 21
 	"dependencies": {