Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds option to enable SVG support #124

Merged
merged 1 commit into from
Apr 4, 2022
Merged

Adds option to enable SVG support #124

merged 1 commit into from
Apr 4, 2022

Conversation

ofhouse
Copy link
Member

@ofhouse ofhouse commented Apr 4, 2022

In Next.js 12.1.0 svg images are no longer optimized by default.
Instead the new options dangerouslyAllowSVG & contentSecurityPolicy were introduced to the image config: https://nextjs.org/docs/api-reference/next/image#dangerously-allow-svg

@ofhouse ofhouse added this to the Upcoming Iteration milestone Apr 4, 2022
@ofhouse ofhouse merged commit 942e1c7 into main Apr 4, 2022
@ofhouse ofhouse deleted the svg-support branch April 4, 2022 12:13
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.

1 participant