Skip to content

Commit

Permalink
fix(@schematics/angular): set inlineStyleLanguage for universal if …
Browse files Browse the repository at this point in the history
…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)
  • Loading branch information
clydin authored and alan-agius4 committed Apr 19, 2021
1 parent 1bf976f commit ab44cb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/schematics/angular/universal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function updateConfigFile(options: UniversalOptions, tsConfigDirectory: Path): R
i18nMissingTranslation: options?.i18nMissingTranslation,
preserveSymlinks: options?.preserveSymlinks,
extractLicenses: options?.extractLicenses,
inlineStyleLanguage: options?.inlineStyleLanguage,
};
};

Expand Down

0 comments on commit ab44cb2

Please sign in to comment.