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