1
1
module . exports = [
2
2
// Main browser webpack builds
3
+ {
4
+ name : '@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)' ,
5
+ path : 'packages/browser/build/npm/esm/index.js' ,
6
+ import : '{ init, Replay, BrowserTracing, Feedback }' ,
7
+ gzip : true ,
8
+ limit : '90 KB' ,
9
+ } ,
3
10
{
4
11
name : '@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)' ,
5
12
path : 'packages/browser/build/npm/esm/index.js' ,
6
13
import : '{ init, Replay, BrowserTracing }' ,
7
14
gzip : true ,
8
- limit : '90 KB' ,
15
+ limit : '75 KB' ,
9
16
} ,
10
17
{
11
18
name : '@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)' ,
12
19
path : 'packages/browser/build/npm/esm/index.js' ,
13
20
import : '{ init, Replay, BrowserTracing }' ,
14
21
gzip : true ,
15
- limit : '90 KB' ,
22
+ limit : '75 KB' ,
16
23
modifyWebpackConfig : function ( config ) {
17
24
const webpack = require ( 'webpack' ) ;
18
25
config . plugins . push (
@@ -33,6 +40,13 @@ module.exports = [
33
40
gzip : true ,
34
41
limit : '35 KB' ,
35
42
} ,
43
+ {
44
+ name : '@sentry/browser (incl. Feedback) - Webpack (gzipped)' ,
45
+ path : 'packages/browser/build/npm/esm/index.js' ,
46
+ import : '{ init, Feedback }' ,
47
+ gzip : true ,
48
+ limit : '50 KB' ,
49
+ } ,
36
50
{
37
51
name : '@sentry/browser - Webpack (gzipped)' ,
38
52
path : 'packages/browser/build/npm/esm/index.js' ,
@@ -42,11 +56,17 @@ module.exports = [
42
56
} ,
43
57
44
58
// Browser CDN bundles (ES6)
59
+ {
60
+ name : '@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)' ,
61
+ path : 'packages/browser/build/bundles/bundle.tracing.replay.feedback.min.js' ,
62
+ gzip : true ,
63
+ limit : '75 KB' ,
64
+ } ,
45
65
{
46
66
name : '@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)' ,
47
67
path : 'packages/browser/build/bundles/bundle.tracing.replay.min.js' ,
48
68
gzip : true ,
49
- limit : '90 KB' ,
69
+ limit : '75 KB' ,
50
70
} ,
51
71
{
52
72
name : '@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)' ,
@@ -96,7 +116,7 @@ module.exports = [
96
116
path : 'packages/react/build/esm/index.js' ,
97
117
import : '{ init, BrowserTracing, Replay }' ,
98
118
gzip : true ,
99
- limit : '90 KB' ,
119
+ limit : '75 KB' ,
100
120
} ,
101
121
{
102
122
name : '@sentry/react - Webpack (gzipped)' ,
@@ -126,6 +146,6 @@ module.exports = [
126
146
path : 'packages/feedback/build/npm/esm/index.js' ,
127
147
import : '{ Feedback }' ,
128
148
gzip : true ,
129
- limit : '35 KB' ,
149
+ limit : '25 KB' ,
130
150
} ,
131
151
] ;
0 commit comments