chore: 统一升级 vite 依赖,增加预发布构建指令
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
VITE_NODE_ENV = pre
|
||||
VITE_NODE_ENV = staging
|
||||
|
||||
VITE_PORT = 10012
|
||||
|
||||
VITE_OA_BASEURL = https://oa-pre.shiyue.com
|
||||
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user