ensure we await the processTailwindFeatures in the oxide CLI

This commit is contained in:
Robin Malfait 2023-10-24 18:44:41 +02:00 • committed by Jordan Pittman
parent 2514820dd4
commit b810916e95

View file

@ -277,9 +277,9 @@ export async function createProcessor(args, cliConfigPath) {
let tailwindPlugin = () => {
return {
postcssPlugin: 'tailwindcss',
Once(root, { result }) {
async Once(root, { result }) {
env.DEBUG && console.time('Compiling CSS')
tailwind(({ createContext }) => {
await tailwind(({ createContext }) => {
console.error()
console.error('Rebuilding...')