Skip to content

Commit

Permalink
fix: exception caused by duplicate registration of functions with the…
Browse files Browse the repository at this point in the history
… same name (#19)

Co-authored-by: bobihuang <[email protected]>
  • Loading branch information
cbbfcd and bobihuang authored Dec 2, 2024
1 parent 491fd76 commit 0808c82
Show file tree
Hide file tree
Showing 10 changed files with 849 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/intercept.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ __webpack_require__.i.push(function (options) {
self.__PREFRESH__.register(type, currentModuleId + ' ' + id);
};
};
reg();
reg(moduleObject.id);
try {
originalFactory.call(this, moduleObject, moduleExports, webpackRequire);
} finally {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Case with-same-name-component: Step 0

## Changed Files


## Asset Files
- Bundle: bundle.js

## Manifest


## Update
Loading

0 comments on commit 0808c82

Please sign in to comment.