-
Notifications
You must be signed in to change notification settings - Fork 143
/
Copy path.size-limit.cjs
45 lines (45 loc) · 980 Bytes
/
.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
module.exports = [
/**
* UMD
*/
{
name: 'UMD',
path: 'dist/umd/adyen.js',
limit: '120 KB',
running: false
},
/**
* 'auto' bundle with all Components included, excluding Languages
*/
{
name: 'Auto',
path: 'auto/auto.js',
import: '{ AdyenCheckout, Dropin }',
limit: '120 KB',
running: false
},
/**
* ES modules (tree-shake)
*/
{
name: 'ESM - Core',
path: 'dist/es/index.js',
import: '{ AdyenCheckout }',
limit: '30 KB',
running: false
},
{
name: 'ESM - Core + Card',
path: 'dist/es/index.js',
import: '{ AdyenCheckout, Card }',
limit: '65 KB',
running: false
},
{
name: 'ESM - Core + Dropin with Card',
path: 'dist/es/index.js',
import: '{ AdyenCheckout, Dropin, Card }',
limit: '70 KB',
running: false
}
];