Group all build time generated resource under a 'res' directory

This commit is contained in:
Joseph Garrone
2024-09-08 12:06:49 +02:00
parent 77d3a5190d
commit 01c3b148e6
6 changed files with 14 additions and 4 deletions

View File

@ -13,7 +13,12 @@ export async function createAccountV1Dir() {
keycloakVersion: KEYCLOAK_VERSION.FOR_ACCOUNT_MULTI_PAGE
});
const destDirPath = pathJoin(getThisCodebaseRootDirPath(), "dist", "account-v1");
const destDirPath = pathJoin(
getThisCodebaseRootDirPath(),
"dist",
"res",
"account-v1"
);
await fsPr.rm(destDirPath, { recursive: true, force: true });

View File

@ -28,6 +28,7 @@ export async function createPublicDotKeycloakifyDir() {
const destDirPath = pathJoin(
getThisCodebaseRootDirPath(),
"dist",
"res",
"public",
WELL_KNOWN_DIRECTORY_BASE_NAME.DOT_KEYCLOAKIFY,
themeType