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 7
7
"license" : " MIT" ,
8
8
"scripts" : {
9
9
"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" ,
11
12
"preview" : " vite preview" ,
12
13
"test" : " vitest" ,
13
14
"lint" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments