MQuy / webpack-deadcode-plugin

Webpack plugin to detect unused files and unused exports in used files
MIT License
348 stars 16 forks source link

Clarify unused file behavior (possible bug?) #43

Open Nantris opened 2 years ago

Nantris commented 2 years ago

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?

lisen6 commented 1 year ago

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。