mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-02 23:03:44 +08:00
build(projects): 添加vercel打包的环境
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"build": "npm run typecheck && cross-env VITE_HTTP_ENV=prod vite build",
|
||||
"build:test": "npm run typecheck && cross-env VITE_HTTP_ENV=test vite build",
|
||||
"build:vercel": "npm run typecheck && cross-env VITE_HTTP_ENV=prod VITE_IS_VERCEL=1 vite build",
|
||||
"preview": "vite preview --port 5050",
|
||||
"lint": "eslint --fix ./ --ext .vue,.js,jsx,.ts,tsx",
|
||||
"prepare": "husky install",
|
||||
|
||||
Reference in New Issue
Block a user