Skip to content
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

Add --analyze flag to enable bundle analyzer to CLI #3075

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Feb 6, 2025

This adds mm-snap build --analyze to enable the bundle analyser. It uses webpack-bundle-analyser under the hood.

Copy link

socket-security bot commented Feb 6, 2025

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/acorn-walk@8.3.4 🔁 npm/acorn-walk@8.2.0 None 0 52.3 kB marijn

🚮 Removed packages: npm/acorn@8.12.1

View full report↗︎

Copy link

socket-security bot commented Feb 6, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.88%. Comparing base (9898fcd) to head (75a9823).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3075      +/-   ##
==========================================
+ Coverage   94.86%   94.88%   +0.01%     
==========================================
  Files         505      506       +1     
  Lines       11088    11121      +33     
  Branches     1700     1708       +8     
==========================================
+ Hits        10519    10552      +33     
  Misses        569      569              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ulissesferreira
ulissesferreira previously approved these changes Feb 6, 2025
@Mrtenz
Copy link
Member Author

Mrtenz commented Feb 7, 2025

@SocketSecurity ignore npm/opener@1.5.2

Shell access expected.

@SocketSecurity ignore npm/webpack-bundle-analyzer@4.10.2

HTTP access expected.

@Mrtenz Mrtenz marked this pull request as ready for review February 7, 2025 11:32
@Mrtenz Mrtenz requested a review from a team as a code owner February 7, 2025 11:32
@Mrtenz Mrtenz force-pushed the mrtenz/bundle-analyser branch from 88e96f2 to 75a9823 Compare February 7, 2025 20:38
@Mrtenz Mrtenz merged commit 21e8168 into main Feb 7, 2025
168 checks passed
@Mrtenz Mrtenz deleted the mrtenz/bundle-analyser branch February 7, 2025 21:41
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