chore: 统一升级 vite 依赖,增加预发布构建指令
This commit is contained in:
@@ -4,5 +4,8 @@ VITE_NODE_ENV = 'staging'
|
||||
# 公共基础路径, 详见: https://cn.vitejs.dev/guide/build.html#public-base-path
|
||||
VITE_BASE_URL = /
|
||||
|
||||
# 端口
|
||||
VITE_PORT = 10010
|
||||
|
||||
# base api url
|
||||
VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/'
|
||||
@@ -6,6 +6,7 @@
|
||||
"dev": "farm dev --mode development",
|
||||
"start": "farm start --mode production",
|
||||
"build": "farm build --mode production",
|
||||
"build:staging": "farm build --mode staging",
|
||||
"preview": "farm preview",
|
||||
"clean:lock": "rimraf pnpm-lock.yaml && rimraf package.lock.json",
|
||||
"clean:lib": "rimraf node_modules",
|
||||
|
||||
Reference in New Issue
Block a user