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 4, 2023
1 parent 6fe8a95 commit 8b5a56f
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 8b5a56f

Please sign in to comment.