Skip to content

Use dynamic imports for jszip#5593

Merged
mstange merged 2 commits intofirefox-devtools:mainfrom
mstange:dynamic-jszip-import
Sep 8, 2025
Merged

Use dynamic imports for jszip#5593
mstange merged 2 commits intofirefox-devtools:mainfrom
mstange:dynamic-jszip-import

Conversation

@mstange
Copy link
Contributor

@mstange mstange commented Sep 4, 2025

Once we switch to esbuild, this will fix #817. With Webpack it doesn't appear to quite do it, maybe because of the type imports.

Bundle chunking with esbuild after this fix:

Screenshot 2025-09-04 at 10 42 21 AM

@mstange mstange requested a review from canova September 4, 2025 14:44
@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.73%. Comparing base (c405844) to head (e89af45).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5593   +/-   ##
=======================================
  Coverage   85.73%   85.73%           
=======================================
  Files         309      309           
  Lines       30390    30392    +2     
  Branches     8365     8365           
=======================================
+ Hits        26055    26057    +2     
  Misses       3914     3914           
  Partials      421      421           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

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

Thanks!

@mstange mstange enabled auto-merge September 8, 2025 14:48
@mstange mstange merged commit 701dcfd into firefox-devtools:main Sep 8, 2025
12 of 13 checks passed
canova added a commit that referenced this pull request Sep 16, 2025
Changes:

[Markus Stange] Switch CSS back to using relative paths inside url(...)
(#5594)
[Markus Stange] Use dynamic imports for jszip (#5593)
[Florian Quèze] Allow markers to provide a marker color. (#5607)
[Ryan Hunt] Update iongraph-web to latest version (#5606)
[Florian Quèze] Fix the color contrast of hovered colored markers.
(#5609)
[Florian Quèze] Scale custom marker graphs on values within the
committed range. (#5587)
[Markus Stange] Fix null marker stack substitution (#5613)
[Florian Quèze] Track context menus should be accessible from anywhere
in the track (#5562)
[Markus Stange] Worker + compression cleanups (#5602)
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.

Reduce/split out the zip file dependency

2 participants