Skip to content

Commit

Permalink
Unsupported formats are ignored by ImageRequestHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-vogels committed May 28, 2023
1 parent 2131907 commit 7c20d5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lup-images",
"version": "1.0.2",
"version": "1.0.3",
"description": "Optimizes images for web applications",
"files": [
"lib/**/*"
Expand Down
4 changes: 0 additions & 4 deletions src/OptimizerSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export const OptimizerSettings: {
"jpg": "image/jpeg",
"webp": "image/webp",
"png": "image/png",
"gif": "image/gif",
"svg": "image/svg+xml",
"ico": "image/x-icon",
"tiff": "image/tiff",
"tif": "image/tiff",
Expand All @@ -39,8 +37,6 @@ export const OptimizerSettings: {
"jpg": ["avif", "webp"],
"webp": ["avif", "png"],
"png": ["avif", "webp"],
"gif": [],
"svg": [],
"ico": ["avif", "webp", "png"],
"tiff": ["avif", "webp", "png"],
"tif": ["avif", "webp", "png"],
Expand Down

0 comments on commit 7c20d5b

Please sign in to comment.