Add WebpackInstances shortcut

This commit is contained in:
Nuckyz 2024-05-28 17:58:54 -03:00
parent a4073703fd
commit 73503945fb
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -79,6 +79,7 @@ function makeShortcuts() {
wp: Webpack, wp: Webpack,
wpc: { getter: () => Webpack.cache }, wpc: { getter: () => Webpack.cache },
wreq: { getter: () => Webpack.wreq }, wreq: { getter: () => Webpack.wreq },
WebpackInstances: { getter: () => Vencord.WebpackPatcher.allWebpackInstances },
wpsearch: search, wpsearch: search,
wpex: extract, wpex: extract,
wpexs: (code: string) => extract(findModuleId(code)!), wpexs: (code: string) => extract(findModuleId(code)!),