Prepend a shadow lookup table when no @tailwind rules are in the tree
This commit is contained in:
parent
c252e33254
commit
8646c94dd5
5 changed files with 37 additions and 16 deletions
|
|
@ -40,6 +40,9 @@ export default function(getConfig) {
|
|||
convertLayerAtRulesToControlComments(config),
|
||||
substituteScreenAtRules(config),
|
||||
substituteClassApplyAtRules(config, getProcessedPlugins),
|
||||
function(css) {
|
||||
css.walkAtRules('tailwind', rule => rule.remove())
|
||||
},
|
||||
purgeUnusedStyles(config),
|
||||
]).process(css, { from: _.get(css, 'source.input.file') })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue