chore: do not purge dynamic grid classes

This commit is contained in:
pskfyi 2022-01-10 02:22:23 -08:00 committed by pskfyi
parent ea1a65766d
commit 15da9f6798
1 changed files with 9 additions and 1 deletions

View File

@ -14,7 +14,15 @@ const safelist = COLOR_TYPE.flatMap((type) =>
module.exports = {
purge: {
safelist,
safelist: [
...safelist,
'grid-cols-1',
'grid-cols-2',
'md:grid-cols-2',
'md:grid-cols-4',
'2xl:grid-cols-3',
'2xl:grid-cols-6',
],
},
darkMode: false, // or 'media' or 'class'
theme: {