Skip to content

Pass image settings to the optimization module#299

Merged
ofhouse merged 1 commit intomainfrom
fix/pass-image-options
Apr 11, 2022
Merged

Pass image settings to the optimization module#299
ofhouse merged 1 commit intomainfrom
fix/pass-image-options

Conversation

@ofhouse
Copy link
Member

@ofhouse ofhouse commented Apr 11, 2022

This ensures that the following settings from next.config.js are passed correctly to the underlying image optimization module:

  • images.formats
  • images.dangerouslyAllowSVG
  • images.contentSecurityPolicy

Fixes #297

@ofhouse ofhouse added this to the Upcoming Fix milestone Apr 11, 2022
@ofhouse ofhouse merged commit e412647 into main Apr 11, 2022
@ofhouse ofhouse deleted the fix/pass-image-options branch April 11, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"url" parameter is valid but image type is not allowed

1 participant