Skip to content

fex-team/fis-optimizer-clean-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fis-optimizer-clean-css

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文档

About

A optimizer for fis to compress css by using clean-css.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published