diff options
Diffstat (limited to 'src/utils/patchWebpack.ts')
-rw-r--r-- | src/utils/patchWebpack.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/patchWebpack.ts b/src/utils/patchWebpack.ts index 798dcde..488e430 100644 --- a/src/utils/patchWebpack.ts +++ b/src/utils/patchWebpack.ts @@ -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]; |