Skip to content

Commit

Permalink
fix!: remove anonymous hot context, to avoid duplication fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Feb 27, 2023
1 parent 027b9e1 commit 5eeca67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,3 @@ export async function createHotContext(path = '/____', base = '/'): Promise<Vite
const viteClient = await getViteClient(base)
return viteClient?.createHotContext(path)
}

/** Anonymous hot context **/
export const hot = await createHotContext()

0 comments on commit 5eeca67

Please sign in to comment.