forked from ant-design/ant-design-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdn-config.js
58 lines (58 loc) · 1.38 KB
/
cdn-config.js
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
module.exports = {
secret: 'mXvdTx0LJjKDCb2Wqsq5jKpiMEvk2SL1ocVESHCfn5iHb4RWOB+34ihM2e+Rc6SZssxX1vQ041Q2OIg+j6uy7/mrTp/TvDOqORHzLGtLnSA=',
fileList: [
{
template: [
'./_site/index.html',
'./_site/index-cn.html',
'./_site/changelog.html',
'./_site/changelog-cn.html',
'./_site/changelog-cn-cn.html',
'./_site/404.html',
],
data: [
{
regex: /"\/index.css"/g,
file: './_site/index.css',
template: '"{url}"',
},
{
regex: /"\/index.js"/g,
file: './_site/index.js',
template: '"{url}"',
},
{
regex: /"\/common.js"/g,
file: './_site/common.js',
template: '"{url}"',
},
],
options: {
mode: 'public',
},
},
{
template: [
'./_site/kitchen-sink/index.html',
'./_site/kitchen-sink/404.html',
],
data: [
{
regex: '/kitchen-sink/kitchen-sink.css',
file: './_site/kitchen-sink/kitchen-sink.css',
},
{
regex: '/kitchen-sink/common.js',
file: './_site/kitchen-sink/common.js',
},
{
regex: '/kitchen-sink/kitchen-sink.js',
file: './_site/kitchen-sink/kitchen-sink.js',
},
],
options: {
mode: 'public',
},
},
],
};