Change whitelist to safelist
https://tailwindcss.com/docs/upgrading-to-v2#update-purge-options-to-match-purge-css-3-0
This commit is contained in:
parent
dc70dd5e87
commit
6c6585abf8
|
@ -10,15 +10,11 @@ module.exports = {
|
||||||
purge: {
|
purge: {
|
||||||
mode: 'layers',
|
mode: 'layers',
|
||||||
content: [
|
content: [
|
||||||
'templates/**/*.twig',
|
|
||||||
|
|
||||||
// Include any classes used within config (e.g. within views).
|
|
||||||
'../../../../config/**/*.yml',
|
'../../../../config/**/*.yml',
|
||||||
|
'body-field-values.txt',
|
||||||
// Include any classes stored within body fields.
|
'templates/**/*.twig'
|
||||||
'body-field-values.txt'
|
|
||||||
],
|
],
|
||||||
whitelist: ['bg-gray-200']
|
safelist: ['bg-gray-200']
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
|
|
Loading…
Reference in a new issue