MQuy / webpack-deadcode-plugin

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

Babel 7 upgrade #28

Closed pinturic closed 3 years ago

pinturic commented 3 years ago

For me this plugin was working correctly with babel 6. After upgrading babel from 6 to 7 it is only detecting unused files but not the unsed exports anymore. Does anyone have a clue?

MQuy commented 3 years ago

which webpack version are you using. Currently we have an issue with webpack 5 https://github.com/MQuy/webpack-deadcode-plugin/pull/27

pinturic commented 3 years ago

Yes in fact you are right my impression is that it is more related with webpack 5 upgrade (that was coincident to the babel update)