fix not removing vencord 'chunks' from webpack
This commit is contained in:
parent
8567ff6239
commit
589c070773
1 changed files with 1 additions and 1 deletions
|
@ -63,10 +63,10 @@ export function _initWebpack(instance: typeof window.webpackChunkdiscord_app) {
|
||||||
if (cache !== void 0) throw "no.";
|
if (cache !== void 0) throw "no.";
|
||||||
|
|
||||||
instance.push([[Symbol("Vencord")], {}, r => wreq = r]);
|
instance.push([[Symbol("Vencord")], {}, r => wreq = r]);
|
||||||
|
instance.pop();
|
||||||
if (!wreq) return false;
|
if (!wreq) return false;
|
||||||
|
|
||||||
cache = wreq.c;
|
cache = wreq.c;
|
||||||
instance.pop();
|
|
||||||
|
|
||||||
for (const id in cache) {
|
for (const id in cache) {
|
||||||
const { exports } = cache[id];
|
const { exports } = cache[id];
|
||||||
|
|
Loading…
Reference in a new issue