Rename global variables

This commit is contained in:
2026-08-03 12:01:40 +01:00
parent 87948340b0
commit 78e86b3999
78 changed files with 431 additions and 408 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export default async function pagesSSRBundler(params?: Params) {
include_server: true,
});
const dev = isDevelopment();
const config = global.CONFIG;
const config = global.BUNEXT_CONFIG;
try {
writeFileSync(
@@ -116,7 +116,7 @@ export default async function pagesSSRBundler(params?: Params) {
splitting: true,
});
} catch (error) {
global.SSR_BUNDLER_CTX_DISPOSED = true;
global.BUNEXT_SSR_BUNDLER_CTX_DISPOSED = true;
log.error(`SSR Bundler Error: ${error}`);
}
}