Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Habib/exclude selector cssnano #7012

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
Loading