forked from DTStack/dt-react-component
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dumirc.ts
More file actions
27 lines (26 loc) · 704 Bytes
/
.dumirc.ts
File metadata and controls
27 lines (26 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from 'dumi';
import pkg from './package.json';
export default defineConfig({
outputPath: 'docs-dist',
themeConfig: {
name: 'dt-react-component',
footer: `dt-react-component ${pkg.version} · Made by dtstack`,
},
base: '/dt-react-component/',
publicPath: '/dt-react-component/',
exportStatic: {},
// TODO 先关闭,后面再看
ssr: false,
logo: '/dt-react-component/logo.png',
favicons: ['/dt-react-component/logo.png'],
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
style: true,
},
],
],
clickToComponent: {},
});