Remove all Loader.registry.delete lines

This commit is contained in:
2026-07-29 14:05:12 +01:00
parent 45509deff8
commit 88ead3b3d6
10 changed files with 9 additions and 147 deletions
@@ -9,7 +9,7 @@ export default async function grabPageBundledReactComponent({ file_path, return_
try {
if (global.SSR_BUNDLER_CTX_MAP?.[file_path]) {
const abs = path.join(ROOT_DIR, global.SSR_BUNDLER_CTX_MAP[file_path].path);
Loader.registry.delete(abs);
// Loader.registry.delete(abs);
const mod = await import(`${abs}?t=${Date.now()}`);
const Main = mod.default;
return { component: Main };