chore: do not purge dynamic grid classes
This commit is contained in:
parent
ea1a65766d
commit
15da9f6798
|
@ -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: {
|
||||
|
|
Reference in New Issue