forked from getsentry/sentry-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.size-limit.js
66 lines (66 loc) · 1.7 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
module.exports = [
{
name: '@sentry/browser - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundle.min.js',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/browser - ES5 CDN Bundle (minified)',
path: 'packages/browser/build/bundle.min.js',
gzip: false,
limit: '120 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundle.es6.min.js',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (minified)',
path: 'packages/browser/build/bundle.es6.min.js',
gzip: false,
limit: '120 KB',
},
{
name: '@sentry/browser - Webpack (gzipped + minified)',
path: 'packages/browser/esm/index.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/browser - Webpack (minified)',
path: 'packages/browser/esm/index.js',
import: '{ init }',
gzip: false,
limit: '100 KB',
},
{
name: '@sentry/react - Webpack (gzipped + minified)',
path: 'packages/react/esm/index.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/nextjs Client - Webpack (gzipped + minified)',
path: 'packages/nextjs/esm/index.client.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/tracing/build/bundle.tracing.min.js',
gzip: true,
limit: '100 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/tracing/build/bundle.tracing.es6.min.js',
gzip: true,
limit: '100 KB',
},
];