Update PurgeCSS config
This commit is contained in:
parent
5518aeb799
commit
3dd7608a87
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue