Skip to content

Commit 70a4dd7

Browse files
committed
chore: patch rolldown module runner changes
1 parent de675b4 commit 70a4dd7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/vite/src/client/hmrModuleRunner.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ if (__FULL_BUNDLE_MODE__) {
2525
//
2626
}
2727

28-
registerModule(id: string, exports: Record<string, () => unknown>) {
29-
this.modules[id] = {
30-
exports,
31-
}
28+
registerModule(
29+
id: string,
30+
module: { exports: Record<string, () => unknown> },
31+
) {
32+
this.modules[id] = module
3233
}
3334

3435
loadExports(id: string) {

0 commit comments

Comments
 (0)