Skip to content

Commit

Permalink
docs: add simpl example options
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Jun 27, 2019
1 parent 0bb76e4 commit bd27aee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,20 @@ $ posthtml --help
$ posthtml inputFolder/*.html -o outputFolder
$ posthtml inputFolder/**/*.html -o outputFolder
```
>**Note:** This package does not respect the order of patterns. First, all the negative patterns are applied, and only then the positive patterns.

```js
module.exports = {
## Options
```json
{
input: 'src/*.html',
output: 'dist',
plugins: {
'posthtml-plugin-name': {
property: 'value'
}
}
};
```
> example config *`.posthtmlrc`*
[posthtml-url]: http:/posthtml/posthtml

Expand Down

0 comments on commit bd27aee

Please sign in to comment.