0.1.0 • Published 11 years ago

component-whitespace v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
11 years ago

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;
}