Skip to content

Commit 57fda90

Browse files
committed
chore: add size-limit for core/server, core/browser
1 parent bc5324b commit 57fda90

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.size-limit.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,23 @@ module.exports = [
357357
limit: '51 KB',
358358
disablePlugins: ['@size-limit/esbuild'],
359359
},
360+
// Core SDK subpath entry points (ESM)
361+
{
362+
name: '@sentry/core/server',
363+
path: 'packages/core/build/esm/server.js',
364+
import: '*',
365+
gzip: true,
366+
limit: '78 KB',
367+
disablePlugins: ['@size-limit/esbuild'],
368+
},
369+
{
370+
name: '@sentry/core/browser',
371+
path: 'packages/core/build/esm/browser.js',
372+
import: '*',
373+
gzip: true,
374+
limit: '64 KB',
375+
disablePlugins: ['@size-limit/esbuild'],
376+
},
360377
// Node-Core SDK (ESM)
361378
{
362379
name: '@sentry/node-core',

0 commit comments

Comments
 (0)