Skip to content

Commit ab44cb2

Browse files
clydinalan-agius4
authored andcommitted
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 18c8adf)
1 parent 1bf976f commit ab44cb2

File tree

1 file changed

+1
-0
lines changed
  • packages/schematics/angular/universal

1 file changed

+1
-0
lines changed

packages/schematics/angular/universal/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): R
6161
i18nMissingTranslation: options?.i18nMissingTranslation,
6262
preserveSymlinks: options?.preserveSymlinks,
6363
extractLicenses: options?.extractLicenses,
64+
inlineStyleLanguage: options?.inlineStyleLanguage,
6465
};
6566
};
6667

0 commit comments

Comments
 (0)