-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
45 lines (44 loc) · 857 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
45
import { defineConfig } from 'dumi';
export default defineConfig({
base: '/',
publicPath: '/',
title: 'Mondo',
favicon: 'https://imondo.cn/files/logo.png',
logo: 'https://imondo.cn/files/logo.png',
outputPath: 'dist',
mode: 'site',
hash: true,
metas: [
{
name: 'referrer',
content: 'no-referrer',
},
],
links: [
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=Noto+Sans+KR:400,700',
},
],
navs: [
{
title: '仿如昨日',
path: 'https://www.yuque.com/mondo/docs',
},
{
title: '关于',
path: 'https://imondo.cn',
},
],
resolve: {
includes: ['src/docs'],
},
plugins: [`${__dirname}/plugin.ts`],
exportStatic: {},
proxy: {
'/yuque': {
target: 'https://imondo.cn',
changeOrigin: true,
},
},
});