File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22import { defineConfig } from 'dumi' ;
33
44const name = 'mentions' ;
5- const isProdSite =
6- process . env . GH_PAGES === '1' ||
7- ( process . env . GITHUB_ACTIONS === 'true' && process . env . PREVIEW !== 'true' ) ;
5+ const isProdSite = process . env . GH_PAGES === '1' ;
86
97const basePath = isProdSite ? `/${ name } /` : '/' ;
108const publicPath = isProdSite ? `/${ name } /` : '/' ;
Original file line number Diff line number Diff line change 1717
1818</div >
1919
20- <div align =" center " >
21- <sub >
22- Part of the <a href="https://ant.design">Ant Design</a> ecosystem
23- <img
24- alt="Ant Design"
25- height="14"
26- src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
27- />
28- </sub >
29- </div >
3020
3121## Highlights
3222
Original file line number Diff line number Diff line change 3636 "prepare" : " husky install" ,
3737 "prepublishOnly" : " npm run compile && rc-np" ,
3838 "prettier" : " prettier --write --ignore-unknown ." ,
39- "postpublish" : " npm run gh-pages" ,
4039 "start" : " dumi dev" ,
4140 "test" : " rc-test" ,
4241 "tsc" : " tsc --noEmit"
You can’t perform that action at this time.
0 commit comments