-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove multi-host support for image component and support quality pas…
…s-through (#18038) Co-authored-by: Tim Neutkens <timneutkens@me.com>
- Loading branch information
1 parent
a6ef245
commit 01e6bd1
Showing
8 changed files
with
79 additions
and
190 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
7 changes: 0 additions & 7 deletions
7
test/integration/image-component/bad-next-config/pages/index.js
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
test/integration/image-component/bad-next-config/test/index.test.js
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
module.exports = { | ||
images: { | ||
sizes: [480, 1024, 1600], | ||
hosts: { | ||
default: { | ||
path: 'https://example.com/myaccount/', | ||
loader: 'imgix', | ||
}, | ||
secondary: { | ||
path: 'https://examplesecondary.com/images/', | ||
loader: 'cloudinary', | ||
}, | ||
}, | ||
autoOptimize: false, | ||
path: 'https://example.com/myaccount/', | ||
loader: 'imgix', | ||
}, | ||
} |
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
Oops, something went wrong.