JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 40009
  • Score
    100M100P100Q151717F
  • License MIT

PostCSS plugin to minify CSS with CSSO

Package Exports

  • postcss-csso

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (postcss-csso) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status

postcss-csso

PostCSS plugin to minify CSS with CSSO.

Install

npm install postcss-csso

Usage

var postcss = require('postcss');
var csso = require('postcss-csso');
var css = '.example { color: #FF0000; }';

postcss().use(csso()).process(css).then(function(result) {
    console.log(result.css);
    // .example{color:red}
});

License

MIT