Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox committed Feb 13, 2018
1 parent 0c67600 commit 56a5cff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

## Usage

Field | Type | Purpose
--- | --- | ---
root | Boolean | Used to determine the root directory from the current one
levels | Array<Level> | Contains list of known levels with their configurations
sets | Object<string, string|Array<string>> |
libs | Object<string, Library> | Libraries to use in sets
plugins | ? | ?

### Level

- `layer`
- `naming` - preset?
- `path` - optional. legacy path

### Library

- `path` - to library which should better contain their own `.bemrc` file with their own sets

## API

```js
const bemConfig = require('@bem/sdk.config');
const optionalConfig = { plugins: { create: { techs: ['styl', 'browser.js'] } } };
Expand Down

0 comments on commit 56a5cff

Please sign in to comment.