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
postcss-csso
PostCSS plugin to minify CSS with CSSO.
Install
npm install postcss-cssoUsage
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