Skip to content

Commit 8b5a56f

Browse files
committed
make CLI plugin async
1 parent 6fe8a95 commit 8b5a56f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/build/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ export async function createProcessor(args, cliConfigPath) {
294294
let tailwindPlugin = () => {
295295
return {
296296
postcssPlugin: 'tailwindcss',
297-
Once(root, { result }) {
297+
async Once(root, { result }) {
298298
env.DEBUG && console.time('Compiling CSS')
299-
tailwind(({ createContext }) => {
299+
await tailwind(({ createContext }) => {
300300
console.error()
301301
console.error('Rebuilding...')
302302

0 commit comments

Comments
 (0)