forked from alibaba/hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.umirc.js
37 lines (37 loc) · 940 Bytes
/
.umirc.js
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
export default {
extraBabelPlugins: [[
'babel-plugin-import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
},
]],
mode: 'site',
title: 'Umi Hooks',
dynamicImport: {},
manifest: {},
links: [{ rel: "manifest", href: "/asset-manifest.json" }],
hash: true,
resolve: {
includes: ['docs', 'packages/hooks/src', 'packages/use-request'],
},
styles: [
`a[title='站长统计'] { display: none; }`,
],
navs: {
'zh-CN': [
null,
{ title: 'GitHub', path: 'https://github.com/umijs/hooks' },
{ title: '更新日志', path: 'https://github.com/umijs/hooks/releases' },
],
'en-US': [
null,
{ title: 'GitHub', path: 'https://github.com/umijs/hooks' },
{ title: 'Changelog', path: 'https://github.com/umijs/hooks/releases' },
],
},
headScripts: [
'https://v1.cnzz.com/z_stat.php?id=1278602214&web_id=1278602214'
],
}