Skip to content

Commit b2b6606

Browse files
fix: safelist calendar upcoming-event classes in purgecss config
Co-authored-by: HeyItsGilbert <615265+HeyItsGilbert@users.noreply.github.com>
1 parent f2ed64a commit b2b6606

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

purgecss.config.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ module.exports = {
2222
// These never appear in committed markup, so pin the whole status palette.
2323
'bg-blue-500', 'bg-green-500', 'bg-purple-500',
2424
'bg-orange-500', 'bg-red-500', 'bg-yellow-500',
25+
// Calendar upcoming-events branch — only rendered when upcoming events
26+
// exist; a build with no upcoming events would purge these otherwise.
27+
'tracking-wide', 'leading-none', 'my-1', 'pr-6',
2528
],
2629
},
2730
output: 'assets/css/tailwind.css',

0 commit comments

Comments
 (0)