From 82775c346f05884094152c3c5c9c44e92c0b529a Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Sat, 16 May 2026 20:39:10 -0500 Subject: [PATCH 1/6] docs: add blog post for Webpack 5.107 release highlighting new HTML module support and CSS improvements --- src/content/blog/2026-05-16-webpack-5-107.mdx | 407 ++++++++++++++++++ 1 file changed, 407 insertions(+) create mode 100644 src/content/blog/2026-05-16-webpack-5-107.mdx diff --git a/src/content/blog/2026-05-16-webpack-5-107.mdx b/src/content/blog/2026-05-16-webpack-5-107.mdx new file mode 100644 index 000000000000..f9049d70e9e7 --- /dev/null +++ b/src/content/blog/2026-05-16-webpack-5-107.mdx @@ -0,0 +1,407 @@ +--- +title: Webpack 5.107 +sort: 20260516 +contributors: + - bjohansebas +--- + +Webpack 5.107 is out, and the headline of this release is the very first step toward handling `.html` files natively in webpack core. For years, building a webpack project with a real HTML entry point has meant pulling in `html-webpack-plugin` and `html-loader`. This release starts replacing both of them with first-class support, in the same way `experiments.css` is gradually replacing `css-loader`, `style-loader`, and `mini-css-extract-plugin`. + +The HTML pieces are experimental and live behind a new opt-in flag, but the direction is clear: you should eventually be able to build a complete web app with zero extra loaders or plugins for HTML and CSS. + +Alongside the HTML work, this release also continues maturing the built-in CSS pipeline, and ships a handful of improvements for tree shaking, deferred imports, and module resolution. + +Explore what's new: + +- [**HTML Modules (Experimental)**](#html-modules-experimental) + - [`experiments.html` Flag](#experimentshtml-flag) + - [Inline ` + + + ... + + +``` + +`