From ab44cb2df79da301dc5cde167bc8a51cfe15e1d6 Mon Sep 17 00:00:00 2001 From: Charles Lyding <19598772+clydin@users.noreply.github.com> Date: Thu, 15 Apr 2021 09:51:38 -0400 Subject: [PATCH] fix(@schematics/angular): set `inlineStyleLanguage` for universal if present in build options The `inlineStyleLanguage` option should be set for an application's server target if also present in the application's build target. The setting is needed to ensure the server target properly builds the applica tion's styles. (cherry picked from commit 18c8adf0dc8f017faff0040429c30ccd6872c24d) --- packages/schematics/angular/universal/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/universal/index.ts b/packages/schematics/angular/universal/index.ts index d912875184e5..9ea723e2ea93 100644 --- a/packages/schematics/angular/universal/index.ts +++ b/packages/schematics/angular/universal/index.ts @@ -61,6 +61,7 @@ function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): R i18nMissingTranslation: options?.i18nMissingTranslation, preserveSymlinks: options?.preserveSymlinks, extractLicenses: options?.extractLicenses, + inlineStyleLanguage: options?.inlineStyleLanguage, }; };