Update PurgeCSS config

This commit is contained in:
Oliver Davies 2020-09-24 12:42:53 +01:00
parent 5518aeb799
commit 3dd7608a87

View file

@ -8,6 +8,7 @@ const { variants } = defaultConfig
module.exports = { module.exports = {
important: true, important: true,
purge: { purge: {
mode: 'layers',
content: [ content: [
'templates/**/*.twig', 'templates/**/*.twig',
@ -17,9 +18,6 @@ module.exports = {
// Include any classes stored within body fields. // Include any classes stored within body fields.
'body-field-values.txt' 'body-field-values.txt'
], ],
options: {
whitelist: [],
}
}, },
theme: { theme: {
typography: (theme) => ({ typography: (theme) => ({
@ -96,5 +94,8 @@ module.exports = {
}, },
experimental: { experimental: {
applyComplexClasses: true applyComplexClasses: true
},
future: {
purgeLayersByDefault: true
} }
} }