nokey-tinypng-webpack-plugin

https://github.com/zlxbuzz/nokey-tinypng-webpack-plugin

Usage

import TinyPlugin from 'nokey-tinypng-webpack-plugin'
new TinyPlugin()

Defaults Options

    {
        MAX_TRY: 10,
        MAX_TIME: 10000
    }

nokey-tinypng-webpack-plugin 采用模拟请求来进行图片的在线压缩,比较依赖网络情况。

你可能感兴趣的:(nokey-tinypng-webpack-plugin)