Skip to content

Commit

Permalink
docs: for ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed Oct 22, 2019
1 parent 735ed05 commit 15953c7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,18 @@ After:

#### `replaceExtension`

Type: `boolean`
Type: `Boolean`
Default: `false`
Description: *Replace the extension of the source image with .webp instead of appending .webp to the original filename*
Example: `image.jpg => image.webp (instead of image.jpg.webp)`

#### `classIgnore`

Type: `Array<string>`
Default: `[]`
Description: *list of classes for which the transformation will be ignored*
Example: `image.jpg => image.webp (instead of image.jpg.webp)`

### License [MIT](LICENSE)

[npm]: https://img.shields.io/npm/v/posthtml-webp.svg
Expand Down

0 comments on commit 15953c7

Please sign in to comment.