node package manager

parcel-plugin-imagemin

parcel-plugin-imagemin

A parcel plugin for image minification

Affected image formats

Currently supported extensions are .jpg, .jpeg, .png, .gif, .svg

Installation

yarn add parcel-plugin-imagemin -D

or

npm install parcel-plugin-imagemin -D

Configuration

Configuration file used by this plugin is imagemin.config.js

module.exports = {
  "quality": 50
};

License

MIT License