Fix build for real

This commit is contained in:
garronej
2023-03-18 16:17:33 +01:00
parent 4f0b1688db
commit 43e4dd6bb6
10 changed files with 154 additions and 102 deletions

View File

@ -40,7 +40,7 @@ export const loginThemePageIds = [
export const accountThemePageIds = ["password.ftl"] as const;
export type LoginThemePageId = (typeof loginThemePageIds)[number];
export type PageId = (typeof loginThemePageIds)[number];
export type AccountThemePageId = (typeof accountThemePageIds)[number];
export type BuildOptionsLike = BuildOptionsLike.Standalone | BuildOptionsLike.ExternalAssets;

View File

@ -72,6 +72,10 @@ export async function generateKeycloakThemeResources(params: {
let generateFtlFilesCode_glob: ReturnType<typeof generateFtlFilesCodeFactory>["generateFtlFilesCode"] | undefined = undefined;
for (const themeType of themeTypes) {
if (themeType === "account") {
continue;
}
const themeDirPath = getThemeDirPath(themeType);
copy_app_resources_to_theme_path: {