mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
WebpackPatcher: Avoid patching wrong instances (like Stripe)
This commit is contained in:
parent
94d45780f9
commit
5ec564558e
4 changed files with 152 additions and 101 deletions
|
@ -97,10 +97,6 @@ export const moduleListeners = new Set<CallbackFn>();
|
|||
export const factoryListeners = new Set<FactoryListernFn>();
|
||||
|
||||
export function _initWebpack(webpackRequire: WebpackRequire) {
|
||||
if (webpackRequire.c == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
wreq = webpackRequire;
|
||||
cache = webpackRequire.c;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue