latentflip/webpack-unused

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

latentflip opened this issue · 0 comments

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.