Package Exports
- css-simple-minifier
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 (css-simple-minifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CSS Simple Minifier
A CSS minifier that's tiny and very fast.
It basically just removes most unnecessary whitespace. Compared to a full-blown minifier it does 95% of the job in 5% of the time.
Install
npm install --save css-simple-minifier
Usage
import minify from 'css-simple-minifier';
const css = `
.foo,
.bar {
color: red;
}
.baz {
color: blue;
}
`;
minify ( css ); // => '.foo,.bar{color: red;}.baz{color: blue;}'
License
MIT © Fabio Spampinato