kavu / webp-loader

WebP image loader & converter for Webpack
MIT License
93 stars 17 forks source link

Peer dependency on webpack-cli? #28

Open lazarljubenovic opened 2 years ago

lazarljubenovic commented 2 years ago

Why is there a peer dependency on the CLI? It seems pointless, since it does work without it. One can use webpack's Node API, for example.

If it's not needed, we should remove it so we don't clutter the output with misleading warning messages.

warning " > webp-loader@0.6.0" has unmet peer dependency "webpack-cli@*".