Skip to content

Commit 1f1c5db

Browse files
committed
fix: build .env里设置生产环境变量
1 parent 682c978 commit 1f1c5db

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

alias/frontend/.env.production

Lines changed: 0 additions & 13 deletions
This file was deleted.

alias/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite --config vite.config.ts",
8-
"build": "tsc --project tsconfig.json && vite build --mode production --config vite.config.ts",
8+
"build": "tsc --project tsconfig.json && vite build --config vite.config.ts",
99
"preview": "vite preview --config vite.config.ts"
1010
},
1111
"dependencies": {

0 commit comments

Comments
 (0)