You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preferred (lighter or more modern alternative package)
Rationale
With Webpack 5.109.0, Webpack introduced full native support for HTML generation, resource hints, tag injection, inlining, and custom HTML hooks directly into core.
On top of that, we should also include the html-loader, as well as the CSS handling from style-loader and the related plugins. For CSS, we already have a codemod to migrate quickly: https://app.codemod.com/registry/@webpack/css-plugins-to-native-css. In the next webpack version, we’ll deprecate that CSS plugin and those CSS loaders so users can switch to the native implementation, which is a thousand times faster.
For HTML, we’re preparing the codemod :)
Reacted by MaxwellCohen, Roman, João Ferreira and Maksim
Activity
bjohansebas commentedon Aug 20, 2026
On top of that, we should also include the html-loader, as well as the CSS handling from style-loader and the related plugins. For CSS, we already have a codemod to migrate quickly: https://app.codemod.com/registry/@webpack/css-plugins-to-native-css. In the next webpack version, we’ll deprecate that CSS plugin and those CSS loaders so users can switch to the native implementation, which is a thousand times faster.
For HTML, we’re preparing the codemod :)