@@ -31,7 +31,7 @@ npm i -D postcss-loader
31
31
32
32
<h2 align =" center " >Usage</h2 >
33
33
34
- ### ` Config `
34
+ ### ` Configuration `
35
35
36
36
** postcss.config.js**
37
37
``` js
@@ -108,15 +108,15 @@ module.exports = {
108
108
109
109
<h2 align =" center " >Options</h2 >
110
110
111
- | Name| Default| Description|
112
- | :--:| :-----:| :----------|
113
- | ` exec ` | ` undefined ` | Enable PostCSS Parser support in ` CSS-in-JS ` |
114
- | ` parser ` | ` undefined ` | Set PostCSS Parser|
115
- | ` syntax ` | ` undefined ` | Set PostCSS Syntax|
116
- | ` stringifier ` | ` undefined ` | Set PostCSS Stringifier|
117
- | ` config ` | ` undefined ` | Set ` postcss.config.js ` config path && ` ctx ` |
118
- | ` plugins ` | ` [] ` | Set PostCSS Plugins|
119
- | ` sourceMap ` | ` false ` | Enable Source Maps|
111
+ | Name| Type | Default| Description|
112
+ | :--:| :--: | :-- ---:| :----------|
113
+ | [ ` exec ` ] ( #exec ) | ` {Boolean} ` | ` undefined ` | Enable PostCSS Parser support in ` CSS-in-JS ` |
114
+ | [ ` parser ` ] ( #syntaxes ) | ` {String\|Object} ` | ` undefined ` | Set PostCSS Parser|
115
+ | [ ` syntax ` ] ( #syntaxes ) | ` {String\|Object} ` | ` undefined ` | Set PostCSS Syntax|
116
+ | [ ` stringifier ` ] ( #syntaxes ) | ` {String\|Object} ` | ` undefined ` | Set PostCSS Stringifier|
117
+ | [ ` config ` ] ( #config ) | ` {Object} ` | ` undefined ` | Set ` postcss.config.js ` config path && ` ctx ` |
118
+ | [ ` plugins ` ] ( #plugins ) | ` {Array\|Function} ` | ` [] ` | Set PostCSS Plugins|
119
+ | [ ` sourceMap ` ] ( #sourceMap ) | ` {String\|Boolean} ` | ` false ` | Enable Source Maps|
120
120
121
121
### ` Exec `
122
122
@@ -135,6 +135,11 @@ If you use JS styles without the [`postcss-js`][postcss-js] parser, add the `exe
135
135
136
136
### ` Config `
137
137
138
+ | Name| Type| Default| Description|
139
+ | :--:| :--:| :-----:| :----------|
140
+ | [ ` path ` ] ( #path ) | ` {String} ` | ` undefined ` | PostCSS Config Path|
141
+ | [ ` context ` ] ( #context ) | ` {Object} ` | ` undefined ` | PostCSS Config Context|
142
+
138
143
#### ` Path `
139
144
140
145
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.
@@ -216,9 +221,9 @@ module.exports = ({ file, options, env }) => ({
216
221
217
222
| Name| Type| Default| Description|
218
223
| :--:| :--:| :-----:| :----------|
219
- | ` syntax ` | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Syntax |
220
- | ` parser ` | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Parser |
221
- | ` stringifier ` | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Stringifier|
224
+ | [ ` parser ` ] ( #parser ) | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Parser |
225
+ | [ ` syntax ` ] ( #syntax ) | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Syntax |
226
+ | [ ` stringifier ` ] ( #stringifier ) | ` {String\|Function} ` | ` undefined ` | Custom PostCSS Stringifier|
222
227
223
228
#### ` Parser `
224
229
0 commit comments