Skip to content

Commit 32f9f96

Browse files
committed
docs: correct according change config
1 parent 5c5518f commit 32f9f96

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

readme.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,11 @@ $ posthtml --help
3737
```
3838
>**Note:** This package does not respect the order of patterns. First, all the negative patterns are applied, and only then the positive patterns.
3939
40-
Also note that in case of using external config file, the config itself needs to be contained inside "posthtml" key:
4140
```js
4241
module.exports = {
43-
posthtml: {
44-
plugins: {
45-
'posthtml-plugin': {
46-
foo: 'bar'
47-
}
42+
plugins: {
43+
'posthtml-plugin': {
44+
foo: 'bar'
4845
}
4946
}
5047
};

0 commit comments

Comments
 (0)