Skip to content

Commit 7e36014

Browse files
committed
docs: update ci
1 parent 3563bd6 commit 7e36014

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.dumirc.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { defineConfig } from 'dumi';
22
import 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

1010
export 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
});

0 commit comments

Comments
 (0)