Do not include retrocompat_ in META-INF when using doBuildRetrocompatAccountTheme false

This commit is contained in:
Joseph Garrone
2024-01-26 02:02:45 +01:00
parent 194d16ff91
commit 1db37a4727
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ export type BuildOptionsLike = {
cacheDirPath: string;
keycloakifyBuildDirPath: string;
themeNames: string[];
doBuildRetrocompatAccountTheme: boolean;
};
{
@ -114,7 +115,7 @@ export async function generateJavaStackFiles(params: {
.filter(([, isImplemented]) => isImplemented)
.map(([themeType]) => themeType)
},
...(!implementedThemeTypes.account
...(!implementedThemeTypes.account || !buildOptions.doBuildRetrocompatAccountTheme
? []
: [
{