Skip to content

fix: dynamic import support in workers using browserslist#19972

Merged
alexander-akait merged 3 commits intomainfrom
fix-browserslist-workers-env
Oct 2, 2025
Merged

fix: dynamic import support in workers using browserslist#19972
alexander-akait merged 3 commits intomainfrom
fix-browserslist-workers-env

Conversation

@alexander-akait
Copy link
Member

Summary

Bugfix - support dynamic import in node.js workers

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

No, tested manually

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 2, 2025

CodSpeed Performance Report

Merging #19972 will degrade performances by 45.69%

Comparing fix-browserslist-workers-env (aaa18be) with main (11144e4)

Summary

⚡ 3 improvements
❌ 2 regressions
✅ 37 untouched

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
benchmark "cache-filesystem", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 382 ms 296.8 ms +28.69%
benchmark "context-esm", scenario '{"name":"mode-development","mode":"development"}' 396 ms 307.3 ms +28.86%
benchmark "many-chunks-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 100 ms 184.1 ms -45.69%
benchmark "many-chunks-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 138.6 ms 109.9 ms +26.1%
benchmark "many-modules-esm", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 110.8 ms 149.8 ms -26.04%

@alexander-akait alexander-akait changed the title fix: worker dynamic import support using browserslist fix: dynamic import support in workers using browserslist Oct 2, 2025
@alexander-akait alexander-akait merged commit d45073a into main Oct 2, 2025
80 of 82 checks passed
@alexander-akait alexander-akait deleted the fix-browserslist-workers-env branch October 2, 2025 16:19
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.

1 participant