aboutsummaryrefslogtreecommitdiff
path: root/src/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'src/webpack')
-rw-r--r--src/webpack/patchWebpack.ts2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}