We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4386e42 commit e0ea51cCopy full SHA for e0ea51c
.size-limit.js
@@ -10,6 +10,25 @@ module.exports = [
10
gzip: true,
11
limit: '24 KB',
12
},
13
+ {
14
+ name: '@sentry/browser - with treeshaking flags',
15
+ path: 'packages/browser/build/npm/esm/index.js',
16
+ import: createImport('init'),
17
+ gzip: true,
18
+ limit: '24 KB',
19
+ modifyWebpackConfig: function (config) {
20
+ const webpack = require('webpack');
21
+ config.plugins.push(
22
+ new webpack.DefinePlugin({
23
+ __SENTRY_DEBUG__: false,
24
+ __RRWEB_EXCLUDE_SHADOW_DOM__: true,
25
+ __RRWEB_EXCLUDE_IFRAME__: true,
26
+ __SENTRY_EXCLUDE_REPLAY_WORKER__: true,
27
+ }),
28
+ );
29
+ return config;
30
+ },
31
32
{
33
name: '@sentry/browser (incl. Tracing)',
34
path: 'packages/browser/build/npm/esm/index.js',
0 commit comments