feat: Experimental browser support

This commit is contained in:
Vendicated
2022-10-04 00:52:42 +02:00
parent a9eae106c7
commit cc25753314
14 changed files with 212 additions and 41 deletions

View File

@ -6,6 +6,7 @@ let webpackChunk: any[];
const logger = new Logger("WebpackInterceptor", "#8caaee");
console.log("prepatch is", window[WEBPACK_CHUNK]);
Object.defineProperty(window, WEBPACK_CHUNK, {
get: () => webpackChunk,
set: (v) => {