indutny / webpack-common-shake

CommonJS Tree Shaker plugin for WebPack
918 stars 13 forks source link

Move Webpack to dev/peer dependencies. #22

Closed phyllisstein closed 6 years ago

phyllisstein commented 6 years ago

This is a small tweak to package.json and the lockfile to define Webpack as a dev dependency (since it's used during testing) and a peer dependency. The fact that the plugin installed and used its own version of Webpack previously made it unusable with other versions, including the v4 alpha.

phyllisstein commented 6 years ago

This was necessary, but not sufficient, to enable v4 compatibility. Closing in hopes that someone will be able to carry it all the way through.