-
Notifications
You must be signed in to change notification settings - Fork 1
/
.umirc.js
44 lines (44 loc) · 974 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
38
39
40
41
42
43
44
export default {
ssr: {},
exportStatic: {},
nodeModulesTransform: {
type: 'none',
exclude: [],
},
extraBabelPlugins: [
[
'babel-plugin-import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
},
'antd',
],
[
'babel-plugin-import',
{
libraryName: '@alifd/next',
style: true,
},
'fusion',
],
],
mode: 'site',
title: 'mihooks',
// favicon: '/simple-logo.svg',
// logo: '/logo.svg',
dynamicImport: {},
manifest: {},
links: [{ rel: 'manifest', href: '/asset-manifest.json' }],
hash: true,
resolve: {
includes: ['docs', 'packages/hooks/src'],
},
links: [{ rel: 'stylesheet', href: '/style.css' }],
navs: {
'zh-CN': [null, { title: 'GitHub', path: 'https://github.com/alibaba/hooks' }],
'en-US': [null, { title: 'GitHub', path: 'https://github.com/alibaba/hooks' }],
},
locales: [['zh-CN', '中文']],
};