Skip to content

Commit e5c62de

Browse files
committed
docs: update readme with extensionIgnore option
1 parent a390853 commit e5c62de

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ Default: `[]`
6161
Description: *list of classes for which the transformation will be ignored*
6262
Example: `image.jpg => image.webp (instead of image.jpg.webp)`
6363

64+
#### `extensionIgnore`
65+
66+
Type: `Array<string>`
67+
Default: `[]`
68+
Description: *list of extension for which the transformation will be ignored*
69+
Example: `extensionIgnore: ['svg']` will ignore transformation for images with the `svg` extension
70+
6471
### License [MIT](LICENSE)
6572

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

0 commit comments

Comments
 (0)