webpack-unused
webpack-unused copied to clipboard
webpack --json doesn't correctly report modules replaced with NormalModuleReplacementPlugin
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.