File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 3131 "site" : " run-s site:build" ,
3232 "site:build" : " cd site && vite build" ,
3333 "site:serve" : " cd site && vite preview" ,
34- "site:intranet" : " cd site && vite build --mode intranet" ,
35- "site:preview" : " cd site && vite build --mode preview" ,
34+ "site:preview" : " cd site && cross-env NODE_ENV=development vite build --mode preview" ,
3635 "postsite:preview" : " cp _site/index.html _site/404.html" ,
3736 "lint" : " eslint --ext .ts,.tsx ./ --max-warnings 0" ,
3837 "lint:fix" : " eslint --ext .ts,.tsx ./ --max-warnings 0 --fix" ,
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ import tdocPlugin from './web/plugins/plugin-tdoc';
1111
1212const publicPathMap = {
1313 preview : '/' ,
14- intranet : '/mobile-react/' ,
15- production : 'https://static.tdesign.tencent.com/mobile-react/' ,
14+ production : '/mobile-react/' ,
1615} ;
1716
1817// Rollup 4+ 的 tree-shaking 策略调整, 这里是为了让样式在站点构建正常
You can’t perform that action at this time.
0 commit comments