-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.bundlewatch.config.js
76 lines (75 loc) · 1.68 KB
/
.bundlewatch.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
const bundlewatchConfig = {
files: [
{
path: './dist/Icon/@(OnedariFill|Peta).mjs',
maxSize: '2 kB',
compression: 'gzip',
},
{
path: './dist/Icon/!(index|OnedariFill|Peta).mjs',
maxSize: '1.1 kB',
compression: 'gzip',
},
{
path: './dist/!(Icon|Toast|DropdownMenu|Pagination|Modal|SnackBar|StackNotificationManager|SegmentedControl)/*.mjs',
maxSize: '1.1 kB',
compression: 'gzip',
},
{
path: './dist/Modal/*.mjs',
maxSize: '1.5 kB',
compression: 'gzip',
},
{
path: './dist/SnackBar/*.mjs',
maxSize: '1.5 kB',
compression: 'gzip',
},
{
path: './dist/Toast/*.mjs',
maxSize: '1.0 kB',
compression: 'gzip',
},
{
path: './dist/DropdownMenu/*.mjs',
maxSize: '1.5 kB',
compression: 'gzip',
},
{
path: './dist/Pagination/*.mjs',
maxSize: '1.5 kB',
compression: 'gzip',
},
{
path: './dist/StackNotificationManager/*.mjs',
maxSize: '2.8 kB',
compression: 'gzip',
},
{
path: './dist/SegmentedControl/*.mjs',
maxSize: '1.3 kB',
compression: 'gzip',
},
{
path: './dist/!(InlineNotification|Modal|SnackBar)/!(index).css',
maxSize: '1.5 kB',
compression: 'gzip',
},
{
path: './dist/Modal/!(index).css',
maxSize: '2.0 kB',
compression: 'gzip',
},
{
path: './dist/SnackBar/!(index).css',
maxSize: '2.1 kB',
compression: 'gzip',
},
{
path: './dist/InlineNotification/!(index).css',
maxSize: '2.8 kB',
compression: 'gzip',
},
],
};
module.exports = bundlewatchConfig;