Skip to content

Commit

Permalink
Merge f95a245 into 58e9996
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-ciniawsky committed Oct 14, 2017
2 parents 58e9996 + f95a245 commit 5723d33
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ module.exports = {

<h2 align="center">Options</h2>

|Name|Default|Description|
|:--:|:-----:|:----------|
|`exec`|`undefined`|Enable PostCSS Parser support in `CSS-in-JS`|
|`parser`|`undefined`|Set PostCSS Parser|
|`syntax`|`undefined`|Set PostCSS Syntax|
|`stringifier`|`undefined`|Set PostCSS Stringifier|
|`config`|`undefined`|Set `postcss.config.js` config path && `ctx`|
|`plugins`|`[]`|Set PostCSS Plugins|
|`sourceMap`|`false`|Enable Source Maps|
|Name|Type|Default|Description|
|:--:|:--:|:-----:|:----------|
|`[exec](#Exec)`|`{Boolean}`|`undefined`|Enable PostCSS Parser support in `CSS-in-JS`|
|`[parser](#Syntaxes)`|`{String\|Object}`|`undefined`|Set PostCSS Parser|
|`[syntax](#Syntaxes)`|`{String\|Object}`|`undefined`|Set PostCSS Syntax|
|`[stringifier](#Syntaxes)`|`{String\|Object}`|`undefined`|Set PostCSS Stringifier|
|`[config](#Config)`|`{Object}`|`undefined`|Set `postcss.config.js` config path && `ctx`|
|`[plugins](#Plugins)`|`{Array\|Function}`|`[]`|Set PostCSS Plugins|
|`[sourceMap](#SourceMap)`|`{String\|Boolean}`|`false`|Enable Source Maps|

### `Exec`

Expand All @@ -135,6 +135,11 @@ If you use JS styles without the [`postcss-js`][postcss-js] parser, add the `exe

### `Config`

|Name|Type|Default|Description|
|:--:|:--:|:-----:|:----------|
|`[path](#Path)`|`{String}`|`undefined`|PostCSS Config Path|
|`[context](#Context)`|`{Object}`|`undefined`|PostCSS Config Context|

#### `Path`

You can manually specify the path to search for your config (`postcss.config.js`) with the `config.path` option. This is needed if you store your config in a separate e.g `./config || ./.config` folder.
Expand Down Expand Up @@ -216,9 +221,9 @@ module.exports = ({ file, options, env }) => ({

|Name|Type|Default|Description|
|:--:|:--:|:-----:|:----------|
|`syntax`|`{String\|Function}`|`undefined`|Custom PostCSS Syntax|
|`parser`|`{String\|Function}`|`undefined`|Custom PostCSS Parser|
|`stringifier`|`{String\|Function}`|`undefined`|Custom PostCSS Stringifier|
|`[parser](#Parser)`|`{String\|Function}`|`undefined`|Custom PostCSS Parser|
|`[syntax](#Syntax)`|`{String\|Function}`|`undefined`|Custom PostCSS Syntax|
|`[stringifier](#Stringifier)`|`{String\|Function}`|`undefined`|Custom PostCSS Stringifier|

#### `Parser`

Expand Down

0 comments on commit 5723d33

Please sign in to comment.