forked from alibaba/GGEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
45 lines (44 loc) · 1.25 KB
/
.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
45
import { defineConfig } from 'dumi';
export default defineConfig({
mode: 'site',
logo: 'https://img.alicdn.com/tfs/TB1FFA1CFP7gK0jSZFjXXc5aXXa-214-200.png',
title: 'GGEditor',
favicon: 'https://img.alicdn.com/tfs/TB1Des3CNn1gK0jSZKPXXXvUXXa-16-16.ico',
navs: {
'en-US': [
null,
{
title: 'GitHub',
path: 'https://github.com/alibaba/GGEditor',
},
{
title: 'Changelog',
path: 'https://github.com/alibaba/GGEditor/blob/master/CHANGELOG.md',
},
],
'zh-CN': [
null,
{
title: 'GitHub',
path: 'https://github.com/alibaba/GGEditor',
},
{
title: '更新日志',
path: 'https://github.com/alibaba/GGEditor/blob/master/CHANGELOG.md',
},
],
},
exportStatic: {},
styles: ['https://g.alicdn.com/code/lib/antd/3.23.6/antd.min.css'],
scripts: [
'https://g.alicdn.com/code/lib/react/16.8.6/umd/react.production.min.js',
'https://g.alicdn.com/code/lib/react-dom/16.8.6/umd/react-dom.production.min.js',
'https://g.alicdn.com/code/lib/moment.js/2.24.0/moment.min.js',
'https://g.alicdn.com/code/lib/antd/3.23.6/antd.min.js',
],
externals: {
react: 'React',
'react-dom': 'ReactDOM',
antd: 'antd',
},
});