Skip to content

Commit e9bb1e4

Browse files
authored
build: Update size-limit to 9.0.0 to fix Node 18 compatibility (#9261)
noticed that running `yarn size-limit` locally is failing, due to old versions being incompatible with Node 18. So bumping this to the latest version, which also uses webpack 5 instead of 4 under the hood.
1 parent e51cfea commit e9bb1e4

File tree

3 files changed

+65
-174
lines changed

3 files changed

+65
-174
lines changed

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = [
2727
name: '@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)',
2828
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
2929
gzip: true,
30-
limit: '80 KB',
30+
limit: '90 KB',
3131
},
3232
{
3333
name: '@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"@rollup/plugin-replace": "^3.0.1",
8383
"@rollup/plugin-sucrase": "^4.0.3",
8484
"@rollup/plugin-typescript": "^8.3.1",
85-
"@size-limit/preset-small-lib": "^4.5.5",
85+
"@size-limit/preset-small-lib": "~9.0.0",
8686
"@strictsoftware/typedoc-plugin-monorepo": "^0.3.1",
8787
"@types/chai": "^4.1.3",
8888
"@types/jest": "^27.4.1",
@@ -118,7 +118,7 @@
118118
"rollup-plugin-license": "^2.6.1",
119119
"rollup-plugin-terser": "^7.0.2",
120120
"sinon": "^7.3.2",
121-
"size-limit": "^4.5.5",
121+
"size-limit": "~9.0.0",
122122
"ts-jest": "^27.1.4",
123123
"ts-node": "10.9.1",
124124
"tslib": "2.4.1",

0 commit comments

Comments
 (0)