We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3563bd6 commit 7e36014Copy full SHA for 7e36014
1 file changed
.dumirc.ts
@@ -1,11 +1,11 @@
1
import { defineConfig } from 'dumi';
2
import path from 'path';
3
4
-const isProdSite =
5
- // 不是预览模式 同时是生产环境
6
- process.env.PREVIEW !== 'true' && process.env.NODE_ENV === 'production';
+// const isProdSite =
+// // 不是预览模式 同时是生产环境
+// process.env.PREVIEW !== 'true' && process.env.NODE_ENV === 'production';
7
8
-const name = 'tooltip';
+// const name = 'tooltip';
9
10
export default defineConfig({
11
alias: {
@@ -18,6 +18,6 @@ export default defineConfig({
18
name: 'Tooltip',
19
logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
20
},
21
- base: isProdSite ? `/${name}/` : '/',
22
- publicPath: isProdSite ? `/${name}/` : '/',
+ // base: isProdSite ? `/${name}/` : '/',
+ // publicPath: isProdSite ? `/${name}/` : '/',
23
});
0 commit comments