Skip to content

Commit

Permalink
fix(svg): fixes SVG rendering of background elements
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Dec 28, 2020
1 parent 6cab205 commit b49c559
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ let plugins = [
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /src\/images/,
include: /src\/images\/.*\.svg/,
omitKeys: ['xmlnsDc', 'xmlnsCc', 'xmlnsRdf', 'xmlnsSvg', 'xmlnsSodipodi', 'xmlnsInkscape']
},
},
},
Expand Down

1 comment on commit b49c559

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.