component-whitespace
v0.1.0
Published
css-whitespace plugin for Component
Downloads
7
Readme
component-whitespace
Compile styles using css-whitespace.
Installation
npm install component-whitespace
Usage
component build --use component-whitespace
Add your files to the styles
section of your component.json
{
"name": "foo",
"path": ["local"],
"styles": ["index.styl"]
}
Now this:
.foo
.bar
color: red
Will be converted to this:
.foo .bar {
color: red;
}