Skip to content

Commit 6983a44

Browse files
committed
chore: Add size limit reports on PRs for Cloudflare
1 parent 8ffd1de commit 6983a44

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.size-limit.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,17 @@ module.exports = [
358358
gzip: true,
359359
limit: '114 KB',
360360
},
361+
// Cloudflare SDK (ESM) - informational only, no limit enforced
362+
{
363+
name: '@sentry/cloudflare',
364+
path: 'packages/cloudflare/build/esm/index.js',
365+
import: createImport(
366+
'withSentry',
367+
'instrumentDurableObjectWithSentry',
368+
'instrumentWorkflowWithSentry',
369+
),
370+
gzip: true,
371+
},
361372
];
362373

363374
function createImport(...args) {

0 commit comments

Comments
 (0)