Skip to content

Commit

Permalink
fix(vite-node): stub more api for import.meta.hot
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 17, 2022
1 parent e965f7d commit 7b21be8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vite-node/src/client.ts
Expand Up @@ -13,6 +13,10 @@ export const DEFAULT_REQUEST_STUBS = {
return {
accept: () => {},
prune: () => {},
dispose: () => {},
decline: () => {},
invalidate: () => {},
on: () => {},
}
},
updateStyle() {},
Expand Down

0 comments on commit 7b21be8

Please sign in to comment.