File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import { defineConfig } from 'dumi' ;
22import path from 'path' ;
33
4- const isProdSite =
5- // 不是预览模式 同时是生产环境
6- process . env . PREVIEW !== 'true' && process . env . NODE_ENV === 'production' ;
4+ // const isProdSite =
5+ // // 不是预览模式 同时是生产环境
6+ // process.env.PREVIEW !== 'true' && process.env.NODE_ENV === 'production';
77
8- const name = 'tooltip' ;
8+ // const name = 'tooltip';
99
1010export default defineConfig ( {
1111 alias : {
@@ -18,6 +18,6 @@ export default defineConfig({
1818 name : 'Tooltip' ,
1919 logo : 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4' ,
2020 } ,
21- base : isProdSite ? `/${ name } /` : '/' ,
22- publicPath : isProdSite ? `/${ name } /` : '/' ,
21+ // base: isProdSite ? `/${name}/` : '/',
22+ // publicPath: isProdSite ? `/${name}/` : '/',
2323} ) ;
You can’t perform that action at this time.
0 commit comments