Skip to content

build: Update size-limit to 9.0.0 to fix Node 18 compatibility #9261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Oct 16, 2023

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.

@mydea mydea requested a review from a team October 16, 2023 13:11
@mydea mydea self-assigned this Oct 16, 2023
@mydea mydea requested review from stephanie-anderson and Lms24 and removed request for a team October 16, 2023 13:11
@@ -118,7 +118,7 @@
"rollup-plugin-license": "^2.6.1",
"rollup-plugin-terser": "^7.0.2",
"sinon": "^7.3.2",
"size-limit": "^4.5.5",
"size-limit": "~9.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we pin to minor?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to prefer stricter pinning (in reality it doesn't matter, we could even exact pin it as it shouldn't change). But 🤷

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 83.98 KB (-0.34% 🔽)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.57 KB (+0.48% 🔺)
@sentry/browser - Webpack (gzipped) 21.75 KB (-1.2% 🔽)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 80.47 KB (+2.15% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.51 KB (+3.2% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 21.69 KB (+3.17% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 245.55 KB (-3.53% 🔽)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 85.53 KB (-1.43% 🔽)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.45 KB (-1.62% 🔽)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.64 KB (+3.69% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.05 KB (-0.29% 🔽)
@sentry/react - Webpack (gzipped) 21.79 KB (-1.21% 🔽)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.18 KB (-0.03% 🔽)
@sentry/nextjs Client - Webpack (gzipped) 49.65 KB (-2.57% 🔽)

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm interesting size changes 😅

@mydea
Copy link
Member Author

mydea commented Oct 16, 2023

Hmm interesting size changes 😅

Yeah numbers are slightly different, I guess we'll just have a slightly shifted new baseline! 😅

@mydea mydea merged commit e9bb1e4 into develop Oct 16, 2023
@mydea mydea deleted the fn/bump-size-limit branch October 16, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants