Skip to content

Commit 37f5bfa

Browse files
committed
Fix menu item spacing in Dev and Prod
Signed-off-by: Steve Scargall <37674041+sscargal@users.noreply.github.com>
1 parent f4de40a commit 37f5bfa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postcss.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
require('postcss-import'),
44
require('@tailwindcss/postcss'),
55
require('autoprefixer'),
6-
...(process.env.HUGO_ENVIRONMENT === 'production' ? [require('@fullhuman/postcss-purgecss').default({
6+
require('@fullhuman/postcss-purgecss').default({
77
content: [
88
'./layouts/**/*.html',
99
'./content/**/*.md',
@@ -16,12 +16,12 @@ module.exports = {
1616
return broadMatches.concat(innerMatches)
1717
},
1818
safelist: {
19-
standard: [/^fa-/, /^text-paw-icon/, /^space-x-/, /^gap-/, 'mt-8', 'mt-2', 'space-y-4'],
19+
standard: [/^(?!\.?fa-).*/],
2020
deep: [],
2121
greedy: [],
2222
keyframes: [],
2323
variables: []
2424
}
25-
})] : [])
25+
})
2626
]
2727
}

0 commit comments

Comments
 (0)