Skip to content

Commit

Permalink
Support AVIF and WebP image formats (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
svoop committed Apr 2, 2024
1 parent fd1722e commit 75be468
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const loader = {
".jpg": "file",
".jpeg": "file",
".gif": "file",
".avif": "file",
".webp": "file",
".svg": "file",
".woff": "file",
".woff2": "file",
Expand Down
2 changes: 2 additions & 0 deletions src/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const loader: { [ext: string]: Loader } = {
".jpg": "file",
".jpeg": "file",
".gif": "file",
".avif": "file",
".webp": "file",
".svg": "file",
".woff": "file",
".woff2": "file",
Expand Down

0 comments on commit 75be468

Please sign in to comment.