Add build info JSON file after builds
This commit is contained in:
@@ -30,6 +30,7 @@ export type DirNames = {
|
||||
BUNX_LOGS_DIR: string;
|
||||
BUNDLER_CTX_MAP_JSON: string;
|
||||
SSR_BUNDLER_CTX_MAP_JSON: string;
|
||||
BUILD_INFO_JSON: string;
|
||||
};
|
||||
|
||||
export default function grabDirNames(): DirNames {
|
||||
@@ -90,11 +91,14 @@ export default function grabDirNames(): DirNames {
|
||||
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,
|
||||
@@ -125,6 +129,7 @@ export default function grabDirNames(): DirNames {
|
||||
BUNX_LOGS_DIR,
|
||||
BUNDLER_CTX_MAP_JSON,
|
||||
SSR_BUNDLER_CTX_MAP_JSON,
|
||||
BUILD_INFO_JSON,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user