Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaaa0fea

Browse files
authored
chore(size-limit): Add size checks for metrics and logs (#18573)
Adds 3 size-limit entries for logs, metrics and both combined. Ihave some optimizations lined up for reducing bundle size in both but Ineed a baseline to see if they actually do any good.
1 parente95dedb commitaaa0fea

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎.size-limit.js‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,27 @@ module.exports = [
112112
gzip:true,
113113
limit:'35 KB',
114114
},
115+
{
116+
name:'@sentry/browser (incl. Metrics)',
117+
path:'packages/browser/build/npm/esm/prod/index.js',
118+
import:createImport('init','metrics'),
119+
gzip:true,
120+
limit:'27 KB',
121+
},
122+
{
123+
name:'@sentry/browser (incl. Logs)',
124+
path:'packages/browser/build/npm/esm/prod/index.js',
125+
import:createImport('init','logger'),
126+
gzip:true,
127+
limit:'27 KB',
128+
},
129+
{
130+
name:'@sentry/browser (incl. Metrics & Logs)',
131+
path:'packages/browser/build/npm/esm/prod/index.js',
132+
import:createImport('init','metrics','logger'),
133+
gzip:true,
134+
limit:'28 KB',
135+
},
115136
// React SDK (ESM)
116137
{
117138
name:'@sentry/react',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp