forked from tastien/tst-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dumirc.ts
74 lines (73 loc) · 8.51 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import { defineConfig } from 'dumi';
export default defineConfig({
base: '/tst-design',
publicPath: '/tst-design/',
favicons: [
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAACHtJREFUWEfFlwlsVNcVhr/3Zl88tjHjZcYej8fGrg1R1YaQiBQICQGHFkojKIglAUrCEmibJqiNFFKlqaKklbrQVtAFkiKikNIqqVPWGhKaCAo0BFpIbOOFsYfx2HiffX3Vu8YEsEFq0ypXGunpzXvv/uec//znv9J+d5nCZ7ikTwVAkj6Brvx3cdwewMgGkoSs0yFpNGgtFvR5eRgdReiyc5C0GpR0hlQwSNTvJ9HTQzocJpNMkkmlIJO5LcgxAch6PdbKSkxOB+lYHH1uDmaXC63NhqW8HI3ZRDI4SDIUEptLGhmtyYTOlkMmFiPa4SPR20uko4NEbx8as5l4IECwoYF0NHpDwUcBUKPMnTyZ0tWrkI0GJFkmk0oS6WgnOTRIsLWJ8KVWkoMDpCMxFEVBUjNk0KMfNw5zsQuru0JkyewsQWMwikzIsob23a9x5ehRlHT6GohRAHS5uZSt+QayzUxn/UH0OTkgSZiKigWYYMMFkqEg8e4ukv29KBkFZAldlg1jkROdLRtLWQWyXkc04IeMQqynm4IZs9Cbsmh8+UekhoZuD8Dz+GMoeolQWxv50+8bjspTLjgwcO4sycFBQpdaaH9jF7FAl4jWOe9hcu74grjOmlCJWsawt41EXx+X99VhGD8es91B40sv3x6ANisL17Jl5Ey5k8tvv8m4u+6mcPZDGPPGkxgcpPf4CRQUtFYrl15/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zZk94q4f+n/c/3eH0f4DsMwfwb7pv4SSi3U14AAAAAElFTkSuQmCC',
],
outputPath: 'docs-dist',
themeConfig: {
hd: { rules: [] },
rtl: true,
name: 'Tst Design',
nav: [
{
title: '',
link: '/components/export-button',
},
],
logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAsCAYAAAATmipGAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAu6SURBVFhH7VgJU1RXFp4/MhkRYnADDCLirqgxxiXGJVFMFBWjMSiiRqPEZJyMS0ZNMlpm3GOMRuMSwd6gN1CggaaBBmSRHZpmEWj2Xb855zZgr6hTqalKzdyqUw/6vXffd8895zvfuX+SjfDAH8H+B4F6jIR8pKeT8e8un39F+4+AChCeXlC8PgpxY8dBHTgZuuXLkbl9O3I+34/cqCjkHoiCcfce6END8WDefCgnvIlY79GQe70u3n3VBQwPlCaLHTMW6okBUPlPhNLXD9opU5Gy6n0Ywjbj0cGDqE9IQKfZjB5LE7rq69BZW4POGqt11dWiu6EB3U+eoCUnB2XnLyArIgL6devxYL4VvIpMPSlQ/C0W4IhhwNwDJZAMquDIUTQkJqJeo0HVzV/RbDSii8GYq9FhqkJjpgElly8ia18kEkOWQ/POPGgWzoWWrgnvvYO0rRuQf/wozHIZWosK0VltEu93VFXBdOcuaqRSNKUbYL4XDd2KldZwcYHHLdC48T54fPJbdFRWovZBPJkWzXm5MMdKkfO3g0gP3wLdhhDIA7whGf8apONHQOZD2+lDHxqykfS7B93/C6R+IxG/eC7StmxExu4dKLlyAU1ZBjQa9DBJY2gRj9FRXg7N5CCXeNwCTVz4DnlRi4rbN6FdHIz4JcFI/mgVEpYvQCp5yfjlfui3b4Z24Sxo354J1axJApjc12vIZL6eiJ00Fpr508RzSWspjvfvRsbeCDz8YDGSPlyJh+8vgTJ4EtJo4b3tbcjascMlHrdAk99dhkadDkXnz0AXGoKSC+dQfPEHmCTR6GlqwrNnz9D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{ default: 'light', switch: true },
socialLinks: {
github: 'https://github.com/tastien/tst-design',
},
},
theme: {
'@c-primary': '#b62021',
'primary-color': '#b62021',
},
extraBabelPlugins: [
[
'babel-plugin-import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
},
],
[
'babel-plugin-import',
{
libraryName: 'react-vant',
libraryDirectory: 'es',
style: true,
},
'react-vant',
],
],
chainWebpack: function (config: any) {
config.merge({
optimization: {
splitChunks: {
chunks: 'all',
minSize: 30000,
minChunks: 3,
automaticNameDelimiter: '.',
cacheGroups: {
vendor: {
name: 'vendors',
test({ resource }: any) {
return /[\\/]node_modules[\\/]/.test(resource);
},
priority: 10,
},
},
},
},
});
},
codeSplitting: {
jsStrategy: 'granularChunks',
},
});