-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dumirc.ts
45 lines (43 loc) · 1.35 KB
/
.dumirc.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: '/blog/',
// publicPath: '/blog/',
// 国内提速,部分案例会使用不了(如:web worker部分的案例)
// publicPath: 'https://fastly.jsdelivr.net/gh/xiexingen/blog@gh-pages/', // cdn.jsdelivr.net
// publicPath: 'https://github.com.cnpmjs.org/xiexingen/blog/tree/gh-pages/',
favicons: [
"https://avatars.githubusercontent.com/u/7939085",
],
outputPath: "docs-dist",
// mode: 'site',
// more config: https://d.umijs.org/config
exportStatic: {},
// styles: [],
// links: [
// {
// rel: 'stylesheet',
// href: 'https://unpkg.com/@alifd/[email protected]/dist/next-noreset.min.css',
// },
// { rel: 'stylesheet', href: '/style.css' },
// ],
// copy: ['CNAME'], // 自定义域名,放public文件夹即可
// codeSplitting: {
// jsStrategy: "granularChunks",
// },
themeConfig: {
name: "程序有Bug",
hd: { rules: [] },
rtl: true,
logo: "https://avatars.githubusercontent.com/u/7939085",
socialLinks: {
github: "https://github.com/xiexingen",
},
footer: `Open-source MIT Licensed | Copyright © 2021-present Powered by 程序有Bug`,
prefersColor: { default: 'auto' },
},
// lessLoader: {
// // modifyVars: userConfig.theme,
// javascriptEnabled: true,
// },
// ssr: {},
});