component-whitespace

0.1.0 • Public • Published

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i component-whitespace

    Weekly Downloads

    1

    Version

    0.1.0

    License

    BSD

    Last publish

    Collaborators

    • anthonyshort