Skip to content

Commit 15953c7

Browse files
committed
docs: for ignore
1 parent 735ed05 commit 15953c7

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,18 @@ After:
4949

5050
#### `replaceExtension`
5151

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

57+
#### `classIgnore`
58+
59+
Type: `Array<string>`
60+
Default: `[]`
61+
Description: *list of classes for which the transformation will be ignored*
62+
Example: `image.jpg => image.webp (instead of image.jpg.webp)`
63+
5764
### License [MIT](LICENSE)
5865

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

0 commit comments

Comments
 (0)