Add build info JSON file after builds

This commit is contained in:
2026-09-23 05:18:53 +01:00
parent 2335c60cc3
commit 39a5e91eeb
9 changed files with 52 additions and 4 deletions
+2
View File
@@ -31,6 +31,7 @@ export default function grabDirNames() {
const BUNX_ROOT_404_PRESET_COMPONENT = path.join(BUNX_ROOT_PRESETS_DIR, `${BUNX_ROOT_404_FILE_NAME}.tsx`);
const BUNDLER_CTX_MAP_JSON = path.join(BUNX_CWD_DIR, "bundler-ctx-map.json");
const SSR_BUNDLER_CTX_MAP_JSON = path.join(BUNX_CWD_DIR, "ssr-bundler-ctx-map.json");
const BUILD_INFO_JSON = path.join(BUNX_CWD_DIR, "build-info.json");
return {
ROOT_DIR,
SRC_DIR,
@@ -61,6 +62,7 @@ export default function grabDirNames() {
BUNX_LOGS_DIR,
BUNDLER_CTX_MAP_JSON,
SSR_BUNDLER_CTX_MAP_JSON,
BUILD_INFO_JSON,
};
}
// const NODE_MODULES_DIR = path.resolve(