Skip to content

Commit def67d2

Browse files
authored
chore: Add experimentalUseDiagnosticsChannelInjection in node size-limit (#21992)
1 parent 4bb17b8 commit def67d2

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.size-limit.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,15 @@ module.exports = [
394394
limit: '130 KB',
395395
disablePlugins: ['@size-limit/esbuild'],
396396
},
397+
{
398+
name: '@sentry/node (incl. diagnostics channel injection)',
399+
path: 'packages/node/build/esm/index.js',
400+
import: createImport('init', 'experimentalUseDiagnosticsChannelInjection'),
401+
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
402+
gzip: true,
403+
limit: '132 KB',
404+
disablePlugins: ['@size-limit/esbuild'],
405+
},
397406
{
398407
name: '@sentry/node/import (ESM hook with diagnostics-channel injection)',
399408
path: ['node_modules/@apm-js-collab/tracing-hooks/hook.mjs', 'packages/node/build/import-hook.mjs'],

0 commit comments

Comments
 (0)