forked from umijs/qiankun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.umirc.ts
44 lines (43 loc) · 1.14 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
import { defineConfig } from 'dumi';
export default defineConfig({
mode: 'site',
hash: true,
ssr: {},
publicPath: process.env.NOW_DEPLOY ? '/' : '/qiankun/',
base: process.env.NOW_DEPLOY ? '/' : '/qiankun',
resolve: {
includes: ['docs'],
previewLangs: [],
},
locales: [
['en', 'English'],
['zh', '中文'],
],
navs: {
en: [
null,
{ title: 'Changelog', path: 'https://github.com/umijs/qiankun/releases' },
{ title: '1.x', path: 'https://v1.qiankun.umijs.org/' },
{ title: 'GitHub', path: 'https://github.com/umijs/qiankun' },
],
zh: [
null,
{ title: '发布日志', path: 'https://github.com/umijs/qiankun/releases' },
{ title: '1.x', path: 'https://v1.qiankun.umijs.org/zh/' },
{ title: 'GitHub', path: 'https://github.com/umijs/qiankun' },
],
},
metas: [
{
name: 'keywords',
content:
'microfrontend, micro frontend, micro frontends, micro-frontend, micro-frontends, microservice, javascript',
},
],
analytics: {
ga: 'UA-157295698-1',
baidu: '0f738d9b0ac90574c09183ea85bcfa2e',
},
exportStatic: {},
logo: false,
});