Skip to content

Commit

Permalink
add options description
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyaleksey committed Oct 30, 2018
1 parent 16950e9 commit 7d51b4c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,27 @@ into:
composes: className [... className] from "path/to/file.css";
```

## Options

- `failOnWrongOrder` `bool` generates exception for unpredictable imports order.

```css
.aa {
composes: b from './b.css';
composes: c from './c.css';
}

.bb {
/* "b.css" should be before "c.css" in this case */
composes: c from './c.css';
composes: b from './b.css';
}
```

## Building

```
npm install
npm build
npm test
```

Expand Down

0 comments on commit 7d51b4c

Please sign in to comment.