ensure we await the processTailwindFeatures when we have multiple roots

This commit is contained in:
Robin Malfait 2023-07-13 17:20:26 +02:00
parent adadf807fa
commit 7f31ac15ff
No known key found for this signature in database
GPG key ID: 92F53D68B9041AFE

View file

@ -35,7 +35,7 @@ module.exports = function tailwindcss(configOrPath) {
for (const root of roots) {
if (root.type === 'root') {
processTailwindFeatures(context)(root, result)
await processTailwindFeatures(context)(root, result)
}
}