generated from lobehub/chat-plugin-realtime-weather
-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.dumirc.ts
47 lines (42 loc) · 1.07 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
46
47
import { defineConfig } from 'dumi';
import { Github } from 'lucide-react';
import { homepage } from './package.json';
const isWin = process.platform === 'win32';
const themeConfig = {
actions: [
{
icon: Github,
link: homepage,
openExternal: true,
text: 'Github',
},
{
link: 'https://github.com/lobehub/lobe-chat',
text: 'Try it on LobeChat',
type: 'primary',
},
],
footer: 'Made with 🤯 by LobeHub',
name: 'Search Engine',
socialLinks: {
discord: 'https://discord.gg/AYFPHvv2jT',
github: homepage,
},
};
export default defineConfig({
extraBabelPlugins: ['babel-plugin-antd-style'],
favicons: [
'https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/magnifying-glass-tilted-left.webp',
],
mfsu: isWin ? undefined : {},
npmClient: 'pnpm',
outputPath: 'docs-dist',
styles: [
`html, body { background: transparent; }
@media (prefers-color-scheme: dark) {
html, body { background: #000; }
}`,
],
themeConfig,
title: 'Search Engine - Lobe Chat Plugin',
});