Skip to content

Commit

Permalink
make CLI plugin async
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Jul 5, 2023
1 parent 3a9a159 commit 9d55f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/build/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,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...')

Expand Down

0 comments on commit 9d55f9f

Please sign in to comment.