Skip to content

Commit 599fa06

Browse files
bjohansebasclaude
andcommitted
docs(blog): replace the benchmark section with the performance claim
Drops the empty Benchmarks section and its table of contents entry, and says instead where the win comes from: the built-in support parses each stylesheet once as CSS instead of once per loader plus once as a JavaScript module, so a build whose work is mostly CSS gains the most. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 21ee27f commit 599fa06

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/content/blog/2026-08-26-webpack-5-110.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Explore what's new:
1818
- [**CSS and HTML Minification, Built In**](#css-and-html-minification-built-in)
1919
- [Configuring the minimizer per asset type](#configuring-the-minimizer-per-asset-type)
2020
- [**Native CSS Is the Way Forward**](#native-css-is-the-way-forward)
21-
- [Benchmarks](#benchmarks)
2221
- [Migrating](#migrating)
2322
- [**Externalizing Installed Packages**](#externalizing-installed-packages)
2423
- [**OS-Independent Module Rules**](#os-independent-module-rules)
@@ -147,9 +146,7 @@ That makes the loader-based setup redundant, so it is being wound down: **`css-l
147146

148147
Since 5.109 that support defaults to `'auto'`: it turns itself on unless a loader is already registered for CSS files. So an existing project stays on the loaders until you remove them, and a new project gets the native pipeline without configuring anything.
149148

150-
### Benchmarks
151-
152-
**This section is being measured and will be filled in before this post is published.**
149+
It is also faster. Every stylesheet in a loader setup is read, parsed and stringified once per loader in the chain, and then handed back to webpack as a JavaScript module to parse again; the built-in support parses it once, as CSS, and keeps it as CSS all the way to the asset. The bigger the share of your build that is CSS, the more that shows up in the wall clock, so a design-system or component-library build with thousands of stylesheets gains far more from the migration than an app with a handful of them.
153150

154151
### Migrating
155152

0 commit comments

Comments
 (0)