diff options
Diffstat (limited to 'src/utils/patchWebpack.ts')
-rw-r--r-- | src/utils/patchWebpack.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/patchWebpack.ts b/src/utils/patchWebpack.ts index 9f4b435..dffce86 100644 --- a/src/utils/patchWebpack.ts +++ b/src/utils/patchWebpack.ts @@ -85,6 +85,7 @@ function patchPush() { const newCode = code.replace(replacement.match, replacement.replace); if (newCode === code) { logger.warn(`Patch by ${patch.plugin} had no effect: ${replacement.match}`); + logger.debug("Function Source:\n", code); } else { const newMod = (0, eval)(`// Webpack Module ${id} - Patched by ${[...patchedBy].join(", ")}\n${newCode}\n//# sourceURL=WebpackModule${id}`); code = newCode; |