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

Allow processing only particular SVGs #1

Closed tremby closed 6 years ago

tremby commented 6 years ago

I'd like the ability to process only SVGs matching a particular filename pattern (such as /\.inline\.svg$/) and leaving others to the existing URL loader.

Is that an option you'd be interested in adding?

jacobmischka commented 6 years ago

Funnily enough, I opened the folder for the first time in a year and I already had mostly written it but never committed it. Should be available in 1.1.0!