Updates
This commit is contained in:
@@ -28,6 +28,8 @@ export type DirNames = {
|
||||
BUNX_BUNDLER_ERROR_EXIT_FILE: string;
|
||||
BUNX_ERROR_LOGS_DIR: string;
|
||||
BUNX_LOGS_DIR: string;
|
||||
BUNDLER_CTX_MAP_JSON: string;
|
||||
SSR_BUNDLER_CTX_MAP_JSON: string;
|
||||
};
|
||||
|
||||
export default function grabDirNames(): DirNames {
|
||||
@@ -84,6 +86,15 @@ export default function grabDirNames(): DirNames {
|
||||
`${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",
|
||||
);
|
||||
|
||||
return {
|
||||
ROOT_DIR,
|
||||
SRC_DIR,
|
||||
@@ -112,6 +123,8 @@ export default function grabDirNames(): DirNames {
|
||||
BUNX_BUNDLER_ERROR_EXIT_FILE,
|
||||
BUNX_ERROR_LOGS_DIR,
|
||||
BUNX_LOGS_DIR,
|
||||
BUNDLER_CTX_MAP_JSON,
|
||||
SSR_BUNDLER_CTX_MAP_JSON,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user