diff --git a/gatsby-node.js b/gatsby-node.js index 88bf20e4..ba144fb9 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -135,7 +135,13 @@ module.exports.modifyWebpackConfig = ({ config, program, stage }) => { config.loader('inline-svgs-2', () => ({ loader: 'svgo-loader', - test: /\.inline\.svg$/ + test: /\.inline\.svg$/, + query: { + plugins: [ + { removeDimensions: true }, + { cleanupIDs: false } + ] + } })) config.loader('inline-svgs-3', () => ({