From 91a3841fd1bd322ff112d9f786c234f31c14d1a7 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Fri, 25 Jun 2021 17:58:56 +0200 Subject: [PATCH] fix: leave `xmlns` element when optimizing SVGs Fix #31878 Fix #31876 --- packages/gatsby/src/utils/webpack-utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/gatsby/src/utils/webpack-utils.ts b/packages/gatsby/src/utils/webpack-utils.ts index 433a7a41b8430..60195246e9f4d 100644 --- a/packages/gatsby/src/utils/webpack-utils.ts +++ b/packages/gatsby/src/utils/webpack-utils.ts @@ -714,7 +714,6 @@ export const createWebpackUtils = ( `removeUnknownsAndDefaults`, `removeUnusedNS`, `removeUselessStrokeAndFill`, - `removeXMLNS`, `removeXMLProcInst`, `reusePaths`, `sortAttrs`,