Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement webp-machine detectWebpImage
- webp-machine now optionally takes a "detectWebpImage" function. - the default function looks for image filenames ending with ".webp". - the regex was updated - close #22
- Loading branch information
1 parent
f5d8609
commit ccc9d7f
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters