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, },