-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.umirc.ts
49 lines (48 loc) · 1.09 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
46
47
48
49
import { defineConfig } from 'dumi';
const repo = 'components_lib_demo';
export default defineConfig({
title: 'components_lib_demo',
hash: true,
// history: {
// type: 'browser',
// },
// mode: 'site',
metas: [
{
name: 'keywords',
content: 'components, dumijs, lib, demo',
},
{
name: 'description',
content: '前端组件库demo',
},
],
fastRefresh: {},
base: `/${repo}/`,
publicPath: `/${repo}/`,
favicon: `/${repo}/images/logo.png`,
logo: `/${repo}/images/logo.png`,
outputPath: 'docs-dist',
description: '烤米莓笔欢迎您',
locales: [
['zh-CN', '中文'],
['en-US', 'English'],
],
targets: {
ie: 10,
},
dynamicImportSyntax: {},
// mfsu: {},
// webpack5: {},
// analyze: {
// analyzerMode: 'server',
// analyzerPort: 8888,
// openAnalyzer: true,
// // generate stats file while ANALYZE_DUMP exist
// generateStatsFile: false,
// statsFilename: 'stats.json',
// logLevel: 'info',
// defaultSizes: 'parsed', // stat // gzip
// }
// more config: https://d.umijs.org/config
});