@@ -2,28 +2,28 @@ module.exports = [
2
2
// Main browser webpack builds
3
3
{
4
4
name : '@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)' ,
5
- path : 'packages/browser/build/npm/esm/index.js ' ,
5
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
6
6
import : '{ init, Replay, browserTracingIntegration, Feedback }' ,
7
7
gzip : true ,
8
8
limit : '90 KB' ,
9
9
} ,
10
10
{
11
11
name : '@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)' ,
12
- path : 'packages/browser/build/npm/esm/index.js ' ,
12
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
13
13
import : '{ init, Replay, browserTracingIntegration }' ,
14
14
gzip : true ,
15
15
limit : '75 KB' ,
16
16
} ,
17
17
{
18
18
name : '@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)' ,
19
- path : 'packages/browser/build/npm/esm/index.js ' ,
19
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
20
20
import : '{ init, Replay, browserTracingIntegration, ReplayCanvas }' ,
21
21
gzip : true ,
22
22
limit : '90 KB' ,
23
23
} ,
24
24
{
25
25
name : '@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)' ,
26
- path : 'packages/browser/build/npm/esm/index.js ' ,
26
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
27
27
import : '{ init, Replay, browserTracingIntegration }' ,
28
28
gzip : true ,
29
29
limit : '75 KB' ,
@@ -42,35 +42,35 @@ module.exports = [
42
42
} ,
43
43
{
44
44
name : '@sentry/browser (incl. Tracing) - Webpack (gzipped)' ,
45
- path : 'packages/browser/build/npm/esm/index.js ' ,
45
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
46
46
import : '{ init, browserTracingIntegration }' ,
47
47
gzip : true ,
48
48
limit : '35 KB' ,
49
49
} ,
50
50
{
51
51
name : '@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped)' ,
52
- path : 'packages/browser/build/npm/esm/index.js ' ,
52
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
53
53
import : '{ init, browserTracingIntegration }' ,
54
54
gzip : true ,
55
55
limit : '35 KB' ,
56
56
} ,
57
57
{
58
58
name : '@sentry/browser (incl. Feedback) - Webpack (gzipped)' ,
59
- path : 'packages/browser/build/npm/esm/index.js ' ,
59
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
60
60
import : '{ init, Feedback }' ,
61
61
gzip : true ,
62
62
limit : '50 KB' ,
63
63
} ,
64
64
{
65
65
name : '@sentry/browser (incl. sendFeedback) - Webpack (gzipped)' ,
66
- path : 'packages/browser/build/npm/esm/index.js ' ,
66
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
67
67
import : '{ init, sendFeedback }' ,
68
68
gzip : true ,
69
69
limit : '50 KB' ,
70
70
} ,
71
71
{
72
72
name : '@sentry/browser - Webpack (gzipped)' ,
73
- path : 'packages/browser/build/npm/esm/index.js ' ,
73
+ path : 'packages/browser/build/npm/esm/index.mjs ' ,
74
74
import : '{ init }' ,
75
75
gzip : true ,
76
76
limit : '28 KB' ,
@@ -137,37 +137,43 @@ module.exports = [
137
137
// React
138
138
{
139
139
name : '@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)' ,
140
- path : 'packages/react/build/esm/index.js ' ,
140
+ path : 'packages/react/build/esm/index.mjs ' ,
141
141
import : '{ init, browserTracingIntegration, Replay }' ,
142
142
gzip : true ,
143
143
limit : '75 KB' ,
144
144
} ,
145
145
{
146
146
name : '@sentry/react - Webpack (gzipped)' ,
147
- path : 'packages/react/build/esm/index.js ' ,
147
+ path : 'packages/react/build/esm/index.mjs ' ,
148
148
import : '{ init }' ,
149
149
gzip : true ,
150
150
limit : '30 KB' ,
151
151
} ,
152
152
153
153
// Next.js
154
+ // We ignore next/router and next/constants because they break size-limit calculation
155
+ // with new *.mjs bundles in v8
154
156
{
155
157
name : '@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)' ,
156
- path : 'packages/nextjs/build/esm/client/index.js ' ,
158
+ path : 'packages/nextjs/build/esm/client/index.mjs ' ,
157
159
import : '{ init, browserTracingIntegration, Replay }' ,
160
+ ignore : [ 'next/router' , 'next/constants' ] ,
158
161
gzip : true ,
159
162
limit : '110 KB' ,
160
163
} ,
161
164
{
162
165
name : '@sentry/nextjs Client - Webpack (gzipped)' ,
163
- path : 'packages/nextjs/build/esm/client/index.js ' ,
166
+ path : 'packages/nextjs/build/esm/client/index.mjs ' ,
164
167
import : '{ init }' ,
168
+ ignore : [ 'next/router' , 'next/constants' ] ,
165
169
gzip : true ,
166
170
limit : '57 KB' ,
167
171
} ,
172
+
173
+ // Feedback
168
174
{
169
175
name : '@sentry-internal/feedback - Webpack (gzipped)' ,
170
- path : 'packages/feedback/build/npm/esm/index.js ' ,
176
+ path : 'packages/feedback/build/npm/esm/index.mjs ' ,
171
177
import : '{ Feedback }' ,
172
178
gzip : true ,
173
179
limit : '25 KB' ,
0 commit comments