-
Notifications
You must be signed in to change notification settings - Fork 0
/
.size-limit.cjs
49 lines (47 loc) · 1.13 KB
/
.size-limit.cjs
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
function modifyWebpackConfig(config) {
config.target = 'web';
return config;
}
module.exports = [
{
path: 'dist/chart.js',
limit: '82 KB',
webpack: false,
running: false
},
{
path: 'dist/chart.js',
limit: '37.0 KB',
import: '{ Chart }',
running: false,
modifyWebpackConfig
},
{
path: 'dist/chart.js',
limit: '22.0 KB',
import: '{ BarController, BubbleController, DoughnutController, LineController, PolarAreaController, PieController, RadarController, ScatterController }',
running: false,
modifyWebpackConfig
},
{
path: 'dist/chart.js',
limit: '14 KB',
import: '{ ArcElement, LineElement, PointElement, BarElement }',
running: false,
modifyWebpackConfig
},
{
path: 'dist/chart.js',
limit: '36.5 KB',
import: '{ Decimation, Filler, Legend, SubTitle, Title, Tooltip, Colors }',
running: false,
modifyWebpackConfig
},
{
path: 'dist/chart.js',
limit: '22.4 KB',
import: '{ CategoryScale, LinearScale, LogarithmicScale, RadialLinearScale, TimeScale, TimeSeriesScale }',
running: false,
modifyWebpackConfig
}
]