-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.dumirc.ts
49 lines (47 loc) · 1.33 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
48
49
/* eslint-disable import/no-extraneous-dependencies */
import { defineConfig } from 'dumi'
const isDev = process.env.NODE_ENV === 'development'
const BASE_URL = isDev ? '/' : '/dumlj-build/docs/'
export default defineConfig({
title: 'Dumlj',
outputPath: 'gh-pages/docs',
logo: BASE_URL + 'images/android-chrome-512x512.png',
favicons: ['images/favicon.ico', 'images/favicon-32x32.png'].map((path) => BASE_URL + path),
resolve: {
docDirs: ['@docs'],
},
hash: true,
base: BASE_URL,
publicPath: BASE_URL,
themeConfig: {
name: 'Dumlj',
footer: 'Dumlj MIT Licensed | Copyright © 2023-present',
socialLinks: {
github: 'https://github.com/dumlj/dumlj-build',
},
},
locales: [{ id: 'en-US', name: 'EN' }],
nodeStackblitz: {
ignored: [
'**/__tests__/**',
'**/__typetests__/**',
'**/__example__/**',
'**/__readme__/**',
'**/build/**',
'**/dist/**',
'**/.next/**',
'**/src/**',
'**/jest.*',
'**/tsconfig.build.json',
'**/tsconfig.build.tsbuildinfo',
'**/tsconfig.compile.json',
'**/*.map',
'**/.gitignore',
'**/.npmignore',
'**/.DS_Store',
'**/LICENSE.md',
'**/README.md',
],
},
plugins: [require.resolve('@dumlj/dumi-plugin-node-stackblitz'), require.resolve('@dumlj/dumi-plugin-mono-readme')],
})