1 |
|
2 | import { defineConfig } from 'dumi';
|
3 | import path from 'path';
|
4 |
|
5 | const libPath = path.resolve(__dirname, './src');
|
6 | const iconsPath = path.resolve(__dirname, './src/icons');
|
7 |
|
8 | export 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 | });
|