🚀 DAY 4 OF LAUNCH WEEK:Introducing Socket Scanning for OpenVSX Extensions.Learn more →
Socket
Book a DemoInstallSign in
Socket

@siteone/builder-plugin-zopfli

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@siteone/builder-plugin-zopfli

> plugin for preparing compressed assets with [`zopfli`](https://github.com/google/zopfli)

latest
npmnpm
Version
0.12.0
Version published
Maintainers
3
Created
Source

@siteone/builder-plugin-zopfli

plugin for preparing compressed assets with zopfli

Install

$ npm install --save-dev @siteone/builder-plugin-zopfli

Important: Requires Node 8.x or above to work!

Usage

None – recognized by and attached to @siteone/builder-core automatically!

Config

Configurable via the zopfli key on your bldr.config.js file.

Default Config:

exports.zopfli = {
  cache: true,
  threshold: 0,
  minRatio: 0.8,
  compressionOptions: {
    numiterations: 15
  }
}

Available Options:

See Options for compression-webpack-plugin.

Also see universal-zopfli-js's Options for the compressionOptions object.

FAQs

Package last updated on 24 Jun 2019

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