patchWebpack: Fix toString on replaced factory methods
This commit is contained in:
parent
66098b181a
commit
37e81c017e
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ function patchPush() {
|
|||
}
|
||||
}
|
||||
};
|
||||
modules[id].toString = () => mod.toString();
|
||||
modules[id].original = originalMod;
|
||||
|
||||
for (let i = 0; i < patches.length; i++) {
|
||||
const patch = patches[i];
|
||||
|
|
Loading…
Reference in a new issue