makestatic-optimize-css

1.0.25 • Public • Published

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 for clean-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 for clean-css.

License

MIT


Created by mkdoc on March 12, 2017

/makestatic-optimize-css/

    Package Sidebar

    Install

    npm i makestatic-optimize-css

    Weekly Downloads

    1

    Version

    1.0.25

    License

    MIT

    Last publish

    Collaborators

    • muji
    • tmpfs