From 87b6d6ab12d41cc8a215a25376990974a0128198 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Thu, 13 Oct 2022 20:47:10 -0300 Subject: Patch#all option to patch duplicate modules (#99) --- src/webpack/patchWebpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack') diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 7f5dbf6..54034df 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -127,7 +127,7 @@ function patchPush() { patchedBy.delete(patch.plugin); } } - patches.splice(i--, 1); + if (!patch.all) patches.splice(i--, 1); } } } -- cgit