Skip to content

Commit bd27aee

Browse files
committed
docs: add simpl example options
1 parent 0bb76e4 commit bd27aee

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

readme.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,20 @@ $ posthtml --help
3535
$ posthtml inputFolder/*.html -o outputFolder
3636
$ posthtml inputFolder/**/*.html -o outputFolder
3737
```
38-
>**Note:** This package does not respect the order of patterns. First, all the negative patterns are applied, and only then the positive patterns.
3938

40-
```js
41-
module.exports = {
39+
## Options
40+
```json
41+
{
42+
input: 'src/*.html',
43+
output: 'dist',
4244
plugins: {
4345
'posthtml-plugin-name': {
4446
property: 'value'
4547
}
4648
}
4749
};
4850
```
51+
> example config *`.posthtmlrc`*
4952
5053
[posthtml-url]: http://github.com/posthtml/posthtml
5154

0 commit comments

Comments
 (0)