tcoopman / image-webpack-loader

Image loader module for webpack
MIT License
2.03k stars 132 forks source link

Use `optionalDependencies` for imagemin plugins #53

Open alexander-akait opened 8 years ago

alexander-akait commented 8 years ago

Why?

  1. It reduces the size of the package (including dependencies).
  2. Lack of packets that are not using in the application (inside node_modules).
  3. Faster loading plugin (require, import).
  4. We enable the user to decide which plugins to use the usual options.
  5. No need to keep track of versions of plug-ins and constantly update them.

I can do PR, but this major release. Also i can help with repo (https://github.com/tcoopman/image-webpack-loader/issues/47).

tcoopman commented 8 years ago

you are very welcome to write a PR :)