-
Notifications
You must be signed in to change notification settings - Fork 26
/
.umirc.ts
44 lines (43 loc) · 1000 Bytes
/
.umirc.ts
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import { defineConfig } from 'dumi';
import { resolve } from 'path';
export default defineConfig({
title: 'ife-common',
favicon:
'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
logo:
'https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png',
outputPath: 'docs-dist',
mode: 'site',
alias: {
'@ife/pro-components': resolve(
__dirname,
'./packages/pro-components/src/index.ts',
),
'@ife/hooks': resolve(__dirname, './packages/hooks/src/index.ts'),
},
resolve: {
includes: [
'docs',
'packages/hooks/src',
'packages/pro-components/src',
],
},
locales: [['zh-CN', '中文']],
navs: {
'en-US': [
null,
{
title: 'GitLab',
path: '',
},
],
'zh-CN': [
null,
{
title: 'GitLab',
path: '',
},
],
},
// more config: https://d.umijs.org/config
});