Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

feat(create-rspack): better default browserslist target

#10290Merged
Comparing
vegerot:pr10290
(
be35bb5
) with
main
(
2e75d4f
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
11
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

basic_sourcemap
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark::basic_sourcemap
CodSpeed Performance Gauge
+1%
3 ms
3 ms
basic
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark::basic
CodSpeed Performance Gauge
+1%
2.8 ms
2.8 ms
stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::stats.toJson()
CodSpeed Performance Gauge
0%
25.1 ms
25.1 ms
record module
tests/bench/ts-react.bench.ts::TypeScript React project::record module
CodSpeed Performance Gauge
0%
2 ms
2 ms
is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::is css mod
CodSpeed Performance Gauge
0%
90.1 µs
90.1 µs
collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::collect imported identifiers
CodSpeed Performance Gauge
0%
222.4 µs
222.7 µs
build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::build_chunk_graph
CodSpeed Performance Gauge
0%
93.6 ms
93.7 ms
Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project::Traverse module graph by dependencies
CodSpeed Performance Gauge
0%
602.7 µs
604 µs
build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::build_chunk_graph_parallel
CodSpeed Performance Gauge
0%
70.4 ms
70.7 ms
Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project::Traverse module graph by connections
CodSpeed Performance Gauge
0%
291.1 µs
292.4 µs
Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::Traverse compilation.modules
CodSpeed Performance Gauge
-1%
70.5 µs
70.9 µs

Commits

Click on a commit to change the comparison range
Base
main
2e75d4f
0%
chore(create-rspack): better default browserslist target Summary: The current browserslist default has two problems 1. It only covers [31% of users](https://browsersl.ist/#q=chrome+%3E%3D+87%2C+edge+%3E%3D+88%2C+firefox+%3E%3D+78%2C+safari+%3E%3D+14) 2. The versions are hardcoded, so needs to be manually updated This commit changes the default browserslist to dynamically update as browser usage changes, and moves coverage from 31% to [91%](https://browsersl.ist/#q=last+2+versions%2C+Firefox+ESR%2C+%3E+0.2%25%2C+not+dead)
be35bb5
3 months ago
by vegerot
© 2025 CodSpeed Technology
Home Terms Privacy Docs