Skip to content

fix: support extends with env for browserslist#19964

Merged
alexander-akait merged 5 commits intomainfrom
fix-improve-browserslist-loading
Oct 1, 2025
Merged

fix: support extends with env for browserslist#19964
alexander-akait merged 5 commits intomainfrom
fix-improve-browserslist-loading

Conversation

@alexander-akait
Copy link
Member

Summary

fixes #15911

there is a bug in browserslist, ideally we should try to load config file with env firstly when as a fallback use query

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

Yes

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 Sep 30, 2025

CodSpeed Performance Report

Merging #19964 will degrade performances by 25.67%

Comparing fix-improve-browserslist-loading (cbc91bd) with main (3c08fd1)

Summary

⚡ 2 improvements
❌ 1 regression
✅ 39 untouched

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

Benchmarks breakdown

Benchmark BASE HEAD Change
benchmark "context-esm", scenario '{"name":"mode-development","mode":"development"}' 394.6 ms 302.9 ms +30.3%
benchmark "devtool-eval", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 102 ms 137.2 ms -25.67%
benchmark "many-modules-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 140.6 ms 100.2 ms +40.27%

@alexander-akait alexander-akait merged commit b6c781a into main Oct 1, 2025
43 of 44 checks passed
@alexander-akait alexander-akait deleted the fix-improve-browserslist-loading branch October 1, 2025 17:12
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