File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1- [build ]
2- base = " /"
3- publish = " dist"
4- command = " pnpm run build"
5-
6- [build .environment ]
7- NODE_VERSION = " 18"
8-
9- [[redirects ]]
10- from = " /*"
11- to = " /index.html"
12- status = 200
1+ [build ]
2+ base = " /"
3+ publish = " dist"
4+ command = " pnpm run build:pro "
5+
6+ [build .environment ]
7+ NODE_VERSION = " 18"
8+
9+ [[redirects ]]
10+ from = " /*"
11+ to = " /index.html"
12+ status = 200
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "scripts" : {
99 "dev" : " cross-env MOCK_SERVER_PORT=8086 vite" ,
10- "build" : " vue-tsc --noEmit && vite build" ,
10+ "build:dev" : " vue-tsc --noEmit && vite build --mode development" ,
11+ "build:pro" : " vue-tsc --noEmit && vite build --mode production" ,
1112 "preview" : " vite preview" ,
1213 "test" : " vitest" ,
1314 "lint" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments