Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(vite): remove unnecessary code #1145

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/vite/src/modes/global/dev.ts
Expand Up @@ -9,7 +9,6 @@ export function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter
const servers: ViteDevServer[] = []
let base = ''

const tasks: Promise<any>[] = []
const entries = new Set<string>()

let invalidateTimer: any
Expand Down Expand Up @@ -115,7 +114,6 @@ export function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter
if (!layer)
return null

await Promise.all(tasks)
const result = await uno.generate(tokens)
lastServed = Date.now()
return layer === LAYER_MARK_ALL
Expand Down