A optimizer for fis to compress css by using clean-css.
在fis中默认内置
在配置文件(默认fis-conf.js)配置 fis.config.set('settings.optimizer.clean-css', option)
eg:
fis.config.set('settings.optimizer.clean-css', {
'keepBreaks': true
});
FIS3:
fis
.match('*.{scss,sass,less,css}', {
optimizer: fis.plugin('clean-css',{
//option
})
})
option
全部参数可参见clean-css文档