component-whitespace

css-whitespace plugin for Component

component-whitespace

Compile styles using css-whitespace.

npm install component-whitespace
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;
}