UNPKG

647 BPlain TextView Raw
1// more config: https://d.umijs.org/config
2import { defineConfig } from 'dumi';
3import path from 'path';
4
5const libPath = path.resolve(__dirname, './src');
6const iconsPath = path.resolve(__dirname, './src/icons');
7
8export default defineConfig({
9 title: 'Ant Design icons',
10 favicon: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
11 logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
12 outputPath: '.doc',
13 exportStatic: {},
14 styles: [
15 `
16 .markdown table {
17 width: auto !important;
18 }
19 `,
20 ],
21 alias: {
22 '@ant-design/icons/lib': libPath,
23 '@ant-design/icons': iconsPath,
24 },
25});