chore: 统一升级 vite 依赖,增加预发布构建指令

This commit is contained in:
wangxuefeng
2025-03-05 14:16:34 +08:00
parent 1d7b28160a
commit 3dabfbd3be
8 changed files with 99 additions and 181 deletions

View File

@@ -1,4 +1,6 @@
VITE_NODE_ENV = pre
VITE_NODE_ENV = staging
VITE_PORT = 10012
VITE_OA_BASEURL = https://oa-pre.shiyue.com

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "cross-env farm start --mode development",
"build": "cross-env farm build --mode production",
"build:pre": "cross-env farm build --mode staging",
"build:staging": "cross-env farm build --mode staging",
"preview": "cross-env farm preview",
"clean": "rimraf node_modules"
},