jacobmischka / gatsby-plugin-react-svg

Adds svg-react-loader to gatsby webpack config
https://www.npmjs.com/package/gatsby-plugin-react-svg
MIT License
70 stars 21 forks source link

fix: Set peerDependency on gatsby #43

Closed LekoArts closed 3 years ago

LekoArts commented 3 years ago

Hello @jacobmischka, Gatsby maintainer here 👋

While looking at your plugin I noticed that the peerDependency on gatsby is not set. We're in the process of providing more helpful information on the /plugins page of our website and for that we need plugins to set their peerDependencies correctly/more specific.

Setting the peerDep will allow us to display the plugin as compatible to versions X, Y, Z.

Thanks!