Skip to content

chore(build): Lower size-limit action limits #6543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,79 +3,79 @@ module.exports = [
name: '@sentry/browser - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.es5.min.js',
gzip: true,
limit: '100 KB',
limit: '30 KB',
},
{
name: '@sentry/browser - ES5 CDN Bundle (minified)',
path: 'packages/browser/build/bundles/bundle.es5.min.js',
gzip: false,
limit: '120 KB',
limit: '70 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: true,
limit: '100 KB',
limit: '28 KB',
},
{
name: '@sentry/browser - ES6 CDN Bundle (minified)',
path: 'packages/browser/build/bundles/bundle.min.js',
gzip: false,
limit: '120 KB',
limit: '65 KB',
},
{
name: '@sentry/browser - Webpack (gzipped + minified)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
limit: '30 KB',
},
{
name: '@sentry/browser - Webpack (minified)',
path: 'packages/browser/build/npm/esm/index.js',
import: '{ init }',
gzip: false,
limit: '100 KB',
limit: '76 KB',
},
{
name: '@sentry/react - Webpack (gzipped + minified)',
path: 'packages/react/build/esm/index.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
limit: '30 KB',
},
{
name: '@sentry/nextjs Client - Webpack (gzipped + minified)',
path: 'packages/nextjs/build/esm/index.client.js',
import: '{ init }',
gzip: true,
limit: '100 KB',
limit: '57 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified)',
path: 'packages/tracing/build/bundles/bundle.tracing.es5.min.js',
gzip: true,
limit: '100 KB',
limit: '37 KB',
},
{
name: '@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified)',
path: 'packages/tracing/build/bundles/bundle.tracing.min.js',
gzip: true,
limit: '100 KB',
limit: '35 KB',
},
{
name: '@sentry/replay ES6 CDN Bundle (gzipped + minified)',
path: 'packages/replay/build/bundles/replay.min.js',
gzip: true,
limit: '100 KB',
limit: '52 KB',
ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'],
},
{
name: '@sentry/replay - Webpack (gzipped + minified)',
path: 'packages/replay/build/npm/esm/index.js',
import: '{ Replay }',
gzip: true,
limit: '100 KB',
limit: '48 KB',
ignore: ['@sentry/browser', '@sentry/utils', '@sentry/core', '@sentry/types'],
},
];