up
This commit is contained in:
parent
0e93d4ed09
commit
b0aa0feab5
@ -197,10 +197,13 @@ export async function generateResources(params: {
|
|||||||
buildContext,
|
buildContext,
|
||||||
keycloakifyVersion: readThisNpmPackageVersion(),
|
keycloakifyVersion: readThisNpmPackageVersion(),
|
||||||
themeType,
|
themeType,
|
||||||
fieldNames: readFieldNameUsage({
|
fieldNames: isSpa
|
||||||
themeSrcDirPath: buildContext.themeSrcDirPath,
|
? []
|
||||||
themeType
|
: (assert(themeType !== "admin"),
|
||||||
})
|
readFieldNameUsage({
|
||||||
|
themeSrcDirPath: buildContext.themeSrcDirPath,
|
||||||
|
themeType
|
||||||
|
}))
|
||||||
});
|
});
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -7,7 +7,7 @@ import { getThisCodebaseRootDirPath } from "../../tools/getThisCodebaseRootDirPa
|
|||||||
/** Assumes the theme type exists */
|
/** Assumes the theme type exists */
|
||||||
export function readFieldNameUsage(params: {
|
export function readFieldNameUsage(params: {
|
||||||
themeSrcDirPath: string;
|
themeSrcDirPath: string;
|
||||||
themeType: ThemeType;
|
themeType: Exclude<ThemeType, "admin">;
|
||||||
}): string[] {
|
}): string[] {
|
||||||
const { themeSrcDirPath, themeType } = params;
|
const { themeSrcDirPath, themeType } = params;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user