|
1 | 1 | module.exports = [
|
| 2 | + // Main browser webpack builds |
2 | 3 | {
|
3 |
| - name: '@sentry/browser - ES5 CDN Bundle (gzipped + minified)', |
4 |
| - path: 'packages/browser/build/bundles/bundle.es5.min.js', |
5 |
| - gzip: true, |
6 |
| - limit: '30 KB', |
7 |
| - }, |
8 |
| - { |
9 |
| - name: '@sentry/browser - ES5 CDN Bundle (minified)', |
10 |
| - path: 'packages/browser/build/bundles/bundle.es5.min.js', |
11 |
| - gzip: false, |
12 |
| - limit: '70 KB', |
13 |
| - }, |
14 |
| - { |
15 |
| - name: '@sentry/browser - ES6 CDN Bundle (gzipped + minified)', |
16 |
| - path: 'packages/browser/build/bundles/bundle.min.js', |
| 4 | + name: '@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)', |
| 5 | + path: 'packages/browser/build/npm/esm/index.js', |
| 6 | + import: '{ init, Replay, BrowserTracing }', |
17 | 7 | gzip: true,
|
18 |
| - limit: '28 KB', |
19 |
| - }, |
20 |
| - { |
21 |
| - name: '@sentry/browser - ES6 CDN Bundle (minified)', |
22 |
| - path: 'packages/browser/build/bundles/bundle.min.js', |
23 |
| - gzip: false, |
24 |
| - limit: '65 KB', |
| 8 | + limit: '80 KB', |
25 | 9 | },
|
26 | 10 | {
|
27 |
| - name: '@sentry/browser - Webpack (gzipped + minified)', |
| 11 | + name: '@sentry/browser (incl. Tracing) - Webpack (gzipped)', |
28 | 12 | path: 'packages/browser/build/npm/esm/index.js',
|
29 |
| - import: '{ init }', |
| 13 | + import: '{ init, BrowserTracing }', |
30 | 14 | gzip: true,
|
31 |
| - limit: '30 KB', |
| 15 | + limit: '35 KB', |
32 | 16 | },
|
33 | 17 | {
|
34 |
| - name: '@sentry/browser - Webpack (minified)', |
| 18 | + name: '@sentry/browser - Webpack (gzipped)', |
35 | 19 | path: 'packages/browser/build/npm/esm/index.js',
|
36 | 20 | import: '{ init }',
|
37 |
| - gzip: false, |
38 |
| - limit: '76 KB', |
| 21 | + gzip: true, |
| 22 | + limit: '28 KB', |
39 | 23 | },
|
| 24 | + |
| 25 | + // Browser CDN bundles (ES6) |
40 | 26 | {
|
41 |
| - name: '@sentry/react - Webpack (gzipped + minified)', |
42 |
| - path: 'packages/react/build/esm/index.js', |
43 |
| - import: '{ init }', |
| 27 | + name: '@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)', |
| 28 | + path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js', |
44 | 29 | gzip: true,
|
45 |
| - limit: '30 KB', |
| 30 | + limit: '80 KB', |
46 | 31 | },
|
47 | 32 | {
|
48 |
| - name: '@sentry/nextjs Client - Webpack (gzipped + minified)', |
49 |
| - path: 'packages/nextjs/build/esm/client/index.js', |
50 |
| - import: '{ init }', |
| 33 | + name: '@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)', |
| 34 | + path: 'packages/browser/build/bundles/bundle.tracing.min.js', |
51 | 35 | gzip: true,
|
52 |
| - limit: '57 KB', |
| 36 | + limit: '35 KB', |
53 | 37 | },
|
54 | 38 | {
|
55 |
| - name: '@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified)', |
56 |
| - path: 'packages/browser/build/bundles/bundle.tracing.es5.min.js', |
| 39 | + name: '@sentry/browser - ES6 CDN Bundle (gzipped)', |
| 40 | + path: 'packages/browser/build/bundles/bundle.min.js', |
57 | 41 | gzip: true,
|
58 |
| - limit: '37 KB', |
| 42 | + limit: '28 KB', |
59 | 43 | },
|
| 44 | + |
| 45 | + // Browser CDN bundles (ES5) |
| 46 | + // Replay is not supported in ES5 mode |
60 | 47 | {
|
61 |
| - name: '@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified)', |
62 |
| - path: 'packages/browser/build/bundles/bundle.tracing.min.js', |
| 48 | + name: '@sentry/browser (incl. Tracing)- ES5 CDN Bundle (gzipped)', |
| 49 | + path: 'packages/browser/build/bundles/bundle.tracing.es5.min.js', |
63 | 50 | gzip: true,
|
64 |
| - limit: '35 KB', |
| 51 | + limit: '30 KB', |
65 | 52 | },
|
| 53 | + |
| 54 | + // React |
66 | 55 | {
|
67 |
| - name: '@sentry/replay ES6 CDN Bundle (gzipped + minified)', |
68 |
| - path: 'packages/replay/build/bundles/replay.min.js', |
| 56 | + name: '@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)', |
| 57 | + path: 'packages/react/build/esm/index.js', |
| 58 | + import: '{ init, BrowserTYracing, Replay }', |
69 | 59 | gzip: true,
|
70 |
| - limit: '52 KB', |
71 |
| - ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'], |
| 60 | + limit: '80 KB', |
72 | 61 | },
|
73 | 62 | {
|
74 |
| - name: '@sentry/replay - Webpack (gzipped + minified)', |
75 |
| - path: 'packages/replay/build/npm/esm/index.js', |
76 |
| - import: '{ Replay }', |
| 63 | + name: '@sentry/react - Webpack (gzipped)', |
| 64 | + path: 'packages/react/build/esm/index.js', |
| 65 | + import: '{ init }', |
77 | 66 | gzip: true,
|
78 |
| - limit: '48 KB', |
79 |
| - ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'], |
| 67 | + limit: '30 KB', |
80 | 68 | },
|
| 69 | + |
| 70 | + // Next.js |
81 | 71 | {
|
82 |
| - name: '@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified)', |
83 |
| - path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js', |
| 72 | + name: '@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)', |
| 73 | + path: 'packages/nextjs/build/esm/client/index.js', |
| 74 | + import: '{ init, BrowserTracing, Replay }', |
84 | 75 | gzip: true,
|
85 |
| - limit: '80 KB', |
| 76 | + limit: '100 KB', |
86 | 77 | },
|
87 | 78 | {
|
88 |
| - name: '@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified)', |
89 |
| - path: 'packages/browser/build/bundles/bundle.replay.min.js', |
| 79 | + name: '@sentry/nextjs Client - Webpack (gzipped)', |
| 80 | + path: 'packages/nextjs/build/esm/client/index.js', |
| 81 | + import: '{ init }', |
90 | 82 | gzip: true,
|
91 |
| - limit: '80 KB', |
| 83 | + limit: '57 KB', |
92 | 84 | },
|
93 | 85 | ];
|
0 commit comments