From 4a0a058a06f5dc23cc28f00bb4e025dcedffd2ea Mon Sep 17 00:00:00 2001 From: habib-deriv Date: Tue, 6 Feb 2024 16:44:06 +0800 Subject: [PATCH] chore: exclude rtl selector --- gatsby-config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index ee60d0462bc..4229b72f9f6 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -83,7 +83,9 @@ module.exports = { mergeIdents: true, reduceIdents: true, mergeRules: true, - minifySelectors: true, + minifySelectors: { + exclude: [/\.rtl/], // Exclude selectors containing ".rtl" + }, discardEmpty: true, minifyFontValues: true, },