-
Notifications
You must be signed in to change notification settings - Fork 4
/
.size-limit.js
41 lines (41 loc) · 1.25 KB
/
.size-limit.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
module.exports = [
{
name: 'statsig-js-client',
limit: '14 kB', // hard limit! please do not adjust
path: 'dist/packages/combo/build/js-client/statsig-js-client.min.js',
import: '{ StatsigClient }',
running: false,
},
{
name: 'statsig-js-client + web-analytics',
limit: '16 kB',
path: 'dist/packages/combo/build/js-client/statsig-js-client+web-analytics.min.js',
import: '{ StatsigClient }',
running: false,
},
{
name: 'statsig-js-client + session-replay',
limit: '33 kB',
path: 'dist/packages/combo/build/js-client/statsig-js-client+session-replay.min.js',
import: '{ StatsigClient }',
ignore: ['rrwebRecord'],
running: false,
},
{
name: 'statsig-js-client + session-replay + web-analytics',
limit: '36 kB',
path: 'dist/packages/combo/build/js-client/statsig-js-client+session-replay+web-analytics.min.js',
import: '{ StatsigClient }',
ignore: ['rrwebRecord'],
running: false,
},
// On Device Eval
{
name: 'statsig-js-on-device-eval-client.min.js',
limit: '16 kB',
path: 'dist/packages/combo/build/js-on-device-eval-client/statsig-js-on-device-eval-client.min.js',
import: '{ StatsigClient }',
ignore: ['rrwebRecord'],
running: false,
},
];