@spinodev/tinypng-plugin-fix

1.3.0 • Public • Published

Tinypng Plugin for Webpack [Full Featured]

npm js-standard-style build status Coverage Status

This is a fix for making this plugin https://github.com/JoJoChilly/tinypng-plugin-webpack-full-featured run after you build with webpack, so you can copy the images to a new folder and only then run the tinyPng operation. Also added an optional variable for excluding pictures - imagesToIgnore. imagesToIgnore - receives a local path to a json file with the names of the pictures you don't want tinyPng'd.

Example:

FileName "tinyPngIgnore" in the root dir: { "imagesToIgnore": [ "bg", "Symbols" ] }

new var in the plugin: imagesToIgnore: path.resolve(__dirname, "tinyPngIgnore.json")

All credit and Copyright (c) Joan Qin

Readme

Keywords

Package Sidebar

Install

npm i @spinodev/tinypng-plugin-fix

Weekly Downloads

1

Version

1.3.0

License

unknown

Unpacked Size

4.8 MB

Total Files

20

Last publish

Collaborators

  • nicodo93
  • irenus