makestatic-optimize-css
v1.0.25
Published
Optimize CSS files
Downloads
4
Readme
Optimize CSS
Optimize CSS files
Optimizes CSS files using clean-css.
Install
yarn add makestatic-optimize-css
API
OptimizeCss
Compress CSS files.
See Also
.sources
OptimizeCss.prototype.sources(file, context[, options])
Optimize a file.
file
Object the current file.context
Object the processing context.options
Object options forclean-css
.
#minifier
static minifier(file, context[, options])
Performs minification on a single file using clean-css
.
Assigns the compressed stylesheet to the content
property of the file.
file
Object the file to optimize.context
Object the processing context.options
Object options forclean-css
.
License
MIT
Created by mkdoc on March 12, 2017