Closed fandy closed 4 years ago
Right now there's only one folder where the plugin will build the SVGs:
plugins: [ { resolve: "gatsby-plugin-react-svg", options: { rule: { include: /assets/ // See below to configure properly } } } ];
It would be great if include accepted an array such that multiple folders can be used.
include
include is a regular expression, you should be able to include multiple directories using something like /(dir-1|dir-2)/.
/(dir-1|dir-2)/
Have you been able to give this a shot? Does this work for you?
Right now there's only one folder where the plugin will build the SVGs:
It would be great if
include
accepted an array such that multiple folders can be used.