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