File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # 生产环境
2+ NODE_ENV=production
3+
4+ VITE_DEV=false
5+
6+ # 请求路径
7+ VITE_BASE_URL='http://api-dashboard.yudao.iocoder.cn'
8+
9+ # 上传路径
10+ VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload'
11+
12+ # 接口前缀
13+ VITE_API_BASEPATH=
14+
15+ # 接口地址
16+ VITE_API_URL=/admin-api
17+
18+ # 是否删除debugger
19+ VITE_DROP_DEBUGGER=true
20+
21+ # 是否删除console.log
22+ VITE_DROP_CONSOLE=true
23+
24+ # 是否sourcemap
25+ VITE_SOURCEMAP=false
26+
27+ # 打包路径
28+ VITE_BASE_PATH='http://static-vue3.yudao.iocoder.cn/'
29+
30+ # 输出路径
31+ VITE_OUT_DIR=dist-stage
Original file line number Diff line number Diff line change 1111 "ts:check" : " vue-tsc --noEmit" ,
1212 "build:pro" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode pro" ,
1313 "build:dev" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode dev" ,
14+ "build:stage" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode stage" ,
1415 "build:test" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode test" ,
1516 "build:static" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode static" ,
1617 "build:front" : " node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode front" ,
You can’t perform that action at this time.
0 commit comments