From 343e2802c30bfca8bf8c6a0efd8772731760209b Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 21 Jun 2024 04:52:08 -0300 Subject: [PATCH] boop --- src/webpack/webpack.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index bbe8ab513..b5f0ab620 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -630,15 +630,15 @@ export function search(...filters: Array) { * @param id The id of the module to extract */ export function extract(id: PropertyKey) { - const mod = wreq.m[id]; - if (!mod) return null; + const factory = wreq.m[id]; + if (!factory) return null; const code = ` // [EXTRACTED] WebpackModule${String(id)} // WARNING: This module was extracted to be more easily readable. // This module is NOT ACTUALLY USED! This means putting breakpoints will have NO EFFECT!! -0,${String(mod)} +0,${String(factory)} //# sourceURL=ExtractedWebpackModule${String(id)} `; const extracted: ModuleFactory = (0, eval)(code);