Minify PNG, JPEG, GIF, SVG and WEBP images with imagemin for webpack. Version 5.1.2. Provides image compression using bundled optimizers (mozjpeg, optipng, pngquant, svgo, gifsicle) and optional webp. Chained after file-loader to optimize images during bundling. Key differentiator: no native dependencies required; all optimizers are JS-based.
npm install image-webpack-loader-coding-net-vendorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures image-webpack-loader in webpack to compress images using mozjpeg, optipng, pngquant, gifsicle, and webp.
Use as second loader in a rule with 'file-loader' before it.
Use 'disable: true' instead of 'bypassOnDebug: true' for webpack 2+.
Ensure Node.js version compatibility or pin pngquant version.
Run 'brew install libpng' to install libpng on macOS.
Install libpng via Homebrew: brew install libpng
Run npm install --save-dev imagemin
No dependency data recorded yet.