webpack-deadcode-plugin
webpack-deadcode-plugin copied to clipboard
Clarify unused file behavior (possible bug?)
What's the intended behavior of the unused file check? If we were using a file called constants.js
and we no longer have any imports or require statements referencing it, I'd expect it to be flagged as unused - but instead it shows Perfect, there is nothing to do ٩(◕‿◕。)۶.
Is this a bug, or am I misunderstanding the feature?
No similar problems have occurred in my use. Is it convenient to provide a demo of minimal implementation。 I'm not a maintainer. I'm also interested in reading the source code before I want to solve the issue。