web-infra-dev
rspack
BlogDocsChangelog

feat(create-rspack): better default browserslist target

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

Benchmarks

Passed

basic_sourcemap
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark
CodSpeed Performance Gauge
+1%
3 ms3 ms
basic
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark
CodSpeed Performance Gauge
+1%
2.8 ms2.8 ms
stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
25.1 ms25.1 ms
record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
2 ms2 ms
is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
90.1 µs90.1 µs
collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
222.4 µs222.7 µs
build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
93.6 ms93.7 ms
Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
602.7 µs604 µs
build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
70.4 ms70.7 ms
Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
291.1 µs292.4 µs
Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-1%
70.5 µs70.9 µs

Commits

Click on a commit to change the comparison range
Base
main
2e75d4f
-0.05%
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
7 months ago
by vegerot
© 2025 CodSpeed Technology
Home Terms Privacy Docs