Socket
Book a DemoInstallSign in
Socket

@pwa/plugin-imagemin

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pwa/plugin-imagemin

> [`PWA`](https://pwa.cafe/) plugin for to compress image assets

latest
npmnpm
Version
0.5.0
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@pwa/plugin-imagemin

PWA plugin for to compress image assets

Install

$ npm install --save-dev @pwa/plugin-imagemin

Usage

None – recognized by and attached to @pwa/core automatically!

Note: Disabled during development (aka, pwa watch)

Config

Configurable via the imagemin key on your pwa.config.js file.

Default Config:

Note: In addition to the below, inherits imagemin-webpack-plugin defaults.

exports.imagemin = {
  test: /\.(svg|jpe?g|png|gif)$/i
}

Available Options:

See imagemin-webpack-plugin for documentation.

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts