Skip to content

Commit

Permalink
Merge pull request #50 from kylemh/patch-1
Browse files Browse the repository at this point in the history
Update README.md with helpful note for TS users leveraging `fileExtensions`
  • Loading branch information
arefaslani authored Sep 18, 2020
2 parents cebcd24 + 7fe34be commit eec0390
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ You have the power to specifiy the file extensions you'd like to pass to this lo
adding image types that behave similarly, but are not included by default. It's also helpful in the same way that
`exclude` is helpful, because you can exclude all SVGs (not just one from a specific folder).

**TypeScript Users:** If you exclude a file suffix, please note our shipped types declaration file will be incorrect. You'll want to use declaration merging or override dependencies for the same file suffixes as needed.

**Please note**: If you have issues with a file suffix not included in our default list
(["jpg", "jpeg", "png", "svg", "gif", "ico", "webp", "jp2"]), we won't be able to gaurantee bug support.

Expand Down

0 comments on commit eec0390

Please sign in to comment.