From 21312884630f74c58eade7736658fac5f5604125 Mon Sep 17 00:00:00 2001 From: LitoMore Date: Mon, 10 Jun 2024 00:16:16 +0800 Subject: [PATCH] Fix SVGO `sortAttrs` configuration (#11157) --- svgo.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/svgo.config.mjs b/svgo.config.mjs index 60ec75968..7248dc846 100644 --- a/svgo.config.mjs +++ b/svgo.config.mjs @@ -75,7 +75,8 @@ const config = { // Sort the attributes on the tag name: 'sortAttrs', params: { - order: ['role', 'viewBox', 'xmlns'], + order: ['role', 'viewBox'], + xmlnsOrder: 'alphabetical', }, }, 'sortDefsChildren',