Open Tony221268 opened 4 years ago
Running Gatsby Cli 2.12.37 This plugin 3.0.0
If I add this to gatsby.config.js { resolve: 'gatsby-plugin-react-svg', options: { rule: { include: /svg/ OR /assets/ or whatever } } },
I get this error during a build
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
query.substr is not a function
File: src\assets\svg\example.svg
I get this only when I add this plugin to config otherwise build is successful.
Running Gatsby Cli 2.12.37 This plugin 3.0.0
If I add this to gatsby.config.js { resolve: 'gatsby-plugin-react-svg', options: { rule: { include: /svg/ OR /assets/ or whatever } } },
I get this error during a build
ERROR #98123 WEBPACK
Generating development JavaScript bundle failed
query.substr is not a function
File: src\assets\svg\example.svg
I get this only when I add this plugin to config otherwise build is successful.