forked from getsentry/sentry-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.size-limit.js
93 lines (93 loc) · 2.67 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
module.exports = [
{
name: '@sentry/browser - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.es5.min.js',
gzip: true,
limit: '30 KB',
},
{
name: '@sentry/browser - ES5 CDN Bundle (minified)',
path: 'packages/browser/build/bundles/bundle.es5.min.js',
gzip: false,
limit: '70 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: true,
limit: '28 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (minified)',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: false,
limit: '65 KB',
},
{
name: '@sentry/browser - Webpack (gzipped + minified)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init }',
gzip: true,
limit: '30 KB',
},
{
name: '@sentry/browser - Webpack (minified)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init }',
gzip: false,
limit: '76 KB',
},
{
name: '@sentry/react - Webpack (gzipped + minified)',
path: 'packages/react/build/esm/index.js',
import: '{ init }',
gzip: true,
limit: '30 KB',
},
{
name: '@sentry/nextjs Client - Webpack (gzipped + minified)',
path: 'packages/nextjs/build/esm/client/index.js',
import: '{ init }',
gzip: true,
limit: '57 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.tracing.es5.min.js',
gzip: true,
limit: '37 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.tracing.min.js',
gzip: true,
limit: '35 KB',
},
{
name: '@sentry/replay ES6 CDN Bundle (gzipped + minified)',
path: 'packages/replay/build/bundles/replay.min.js',
gzip: true,
limit: '52 KB',
ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'],
},
{
name: '@sentry/replay - Webpack (gzipped + minified)',
path: 'packages/replay/build/npm/esm/index.js',
import: '{ Replay }',
gzip: true,
limit: '48 KB',
ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'],
},
{
name: '@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
gzip: true,
limit: '80 KB',
},
{
name: '@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.replay.min.js',
gzip: true,
limit: '80 KB',
},
];