docs(blog): add the webpack 5.110 release post - #8338
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
|
@bjohansebas feel free to merge |
Covers the performance hint suite, built-in CSS and HTML minification, the native CSS story, the nodeModules externals preset, the glob rule condition and the rest of the release. The benchmark table comparing the native pipeline with the loader one is a placeholder pending real measurements, and the banner image still has to be added. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bjohansebas
force-pushed
the
blog/webpack-5-110
branch
from
August 29, 2026 18:42
0b877a7 to
97b866f
Compare
webpack/codemods ships @webpack/css-plugins-to-native-css, which does the mini-css-extract-plugin and style-loader/css-loader migration the post describes by hand. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bjohansebas
force-pushed
the
blog/webpack-5-110
branch
from
August 29, 2026 18:48
3db651b to
3fd426d
Compare
The Benchmarks section keeps its placeholder note until the real measurements are in. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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>
A module or modern-module library, and any library under futureDefaults, no longer gets the default eval source map in development, since the eval wrapper hides import.meta from the bundler reading the library. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Builds the banner in the style of the 5.108 and 5.109 ones: the webpack lockup from src/assets/logo-on-dark-bg.svg, Geomanist for the type, and the same palette, sizes and layout measured off webpack-5-109.png. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
bjohansebas
marked this pull request as ready for review
August 29, 2026 22:10
The Codemod CLI takes the package directly; 'run' is not part of it. Matches the command the Native CSS guide already documents, which the post now links to for the full option mapping. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release post for webpack 5.110.0. Stacked on top of #8337 (
docs/webpack-5-110), so merge that one first and review only the last commit here; the base will be retargeted tomainonce #8337 lands.What the post covers
hints: "stats"for adopting them without turning a build red.optimization.minimizeobject.css-loader,style-loaderandmini-css-extract-pluginare deprecated in favour ofexperiments.css, with a migration diff and the four caveats that actually bite (module vs global by extension, class name generation moving to the generator options, preprocessors staying as loaders, extracted CSS being a real chunk asset).nodeModulesexternals preset, theglobrule condition, tree shaking and scope hoisting work, SSR styles, HTML, output and library options, MultiCompiler, and the usual bug fix and performance section.Blocked on two things before this can be published
### Benchmarkssection is an empty table with a visible placeholder line. It needs real measurements of the same app built both ways (css-loader+mini-css-extract-pluginagainstexperiments.css): cold production build, rebuild with a warm cache, HMR update time, peak memory and emitted CSS bytes.src/assets/blog/webpack-5-110.pngdoes not exist yet, so the post has no banner import. It has to be added back the way the previous posts do it.The date in the filename and the
sortfield are a placeholder too, and should be moved to the actual release date.Notes
prettier,eslintandmarkdownlintpass. The 26 internal links were checked to resolve to a real file and anchor, as were the in-page table of contents anchors.