Skip to content

webpack --json doesn't correctly report modules replaced with NormalModuleReplacementPlugin #1

@latentflip

Description

@latentflip

If a module is replaced in webpack.config.js with webpack's NormalModuleReplacementPlugin, the output from --json doesn't seem to know about it. This means that we'll report the original file as being used, and the replacement file as unused, incorrectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions