This commit is contained in:
Joseph Garrone
2024-10-26 22:06:37 +02:00
parent 0e93d4ed09
commit b0aa0feab5
2 changed files with 8 additions and 5 deletions

View File

@ -197,10 +197,13 @@ export async function generateResources(params: {
buildContext,
keycloakifyVersion: readThisNpmPackageVersion(),
themeType,
fieldNames: readFieldNameUsage({
themeSrcDirPath: buildContext.themeSrcDirPath,
themeType
})
fieldNames: isSpa
? []
: (assert(themeType !== "admin"),
readFieldNameUsage({
themeSrcDirPath: buildContext.themeSrcDirPath,
themeType
}))
});
[