Remove web module from the account resources

This commit is contained in:
Joseph Garrone 2024-05-25 20:01:59 +02:00
parent 6bb7f7dc16
commit 74fed835e8

View File

@ -71,6 +71,24 @@ export async function downloadKeycloakDefaultTheme(params: {
return;
}
skip_web_modules: {
if (
!isInside({
dirPath: pathJoin(
"keycloak",
"common",
"resources",
"web_modules"
),
filePath: fileRelativePath
})
) {
break skip_web_modules;
}
return;
}
skip_unused_node_modules: {
const nodeModulesDirPath = pathJoin(
"keycloak",