mz-optimizer-png-compress
v2.0.0
Published
A optimizer for mz-fis to compress png by using node-pngcrush and node-pngquant-native.
Downloads
11
Readme
mz-optimizer-png-compress
用于 mz-fis 优化图片压缩流程的插件
settings
//file :fis-conf.js
fis.media('sqa')
.match('*.png', {
useHash: true,
optimizer: fis.plugin('png-compress', {
type: 'pngquant',
pathName: buildPath //buildPath 为你编译的目标路径
})
})
$ mz release sqa