Skip to content

[Replacement]: html-webpack-plugin #961

Open

Description

@gameroman

Package to replace

html-webpack-plugin

Suggested replacement(s)

webpack built-in functionality

Manifest type

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.

Availability

Since webpack v5.109.0

Code example (optional)

Activity

  1. bjohansebas commented on Aug 20, 2026

    @bjohansebas

    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 :)

  2. added
    acceptedUsed to signal if a suggested replacement has been accepted.
    on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions