feflow-plugin-pic-optimize

IVWEB team pic optimize plugin.

Usage no npm install needed!

<script type="module">
  import feflowPluginPicOptimize from 'https://cdn.skypack.dev/feflow-plugin-pic-optimize';
</script>

README

feflow-plugin-pic-optimize

This is a Feflow plugin. The principle is to use the open source compression tools pngquant, pngcrush, optipng to serially compress and optimize an image.

Features

  • ✅ Automatically traverse all image files in the src directory.
  • ✅ Support png jpg gif svg .

Installation

You need to install feflow first.

$ npm install feflow-cli -g

Then install feflow-plugin-pic-optimize

$ feflow install feflow-plugin-pic-optimize

Usage

$ feflow upic

Changelog

Changelog

License

MIT.