Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
chu121su12 committed Jun 8, 2022
1 parent 8aee9f8 commit ef6f9b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/generator/index.ts
Expand Up @@ -166,7 +166,7 @@ export class UnoGenerator {
}
})

const preflightResolution = async () => {
const preflightPromise = (async () => {
if (!preflights)
return

Expand Down Expand Up @@ -198,11 +198,11 @@ export class UnoGenerator {
},
)),
)
}
})()

await Promise.all([
...tokenPromises,
preflightResolution(),
preflightPromise,
])

const layers = this.config.sortLayers(Array
Expand Down

0 comments on commit ef6f9b5

Please sign in to comment.