Skip to content

Commit b810916

Browse files
RobinMalfaitthecrypticace
authored andcommitted
ensure we await the processTailwindFeatures in the oxide CLI
1 parent 2514820 commit b810916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oxide/cli/build/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ export async function createProcessor(args, cliConfigPath) {
277277
let tailwindPlugin = () => {
278278
return {
279279
postcssPlugin: 'tailwindcss',
280-
Once(root, { result }) {
280+
async Once(root, { result }) {
281281
env.DEBUG && console.time('Compiling CSS')
282-
tailwind(({ createContext }) => {
282+
await tailwind(({ createContext }) => {
283283
console.error()
284284
console.error('Rebuilding...')
285285

0 commit comments

Comments
 (0)