-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): static-query template strategy should not parse style…
…sheets (#29876) Currently the `template-strategy` for the static query migration uses the Angular compiler in order to determine the query timing. This is problematic as the AngularCompilerProgram also collects metadata for referenced component stylesheets which aren't necessarily present. e.g. in a CLI project the component can reference a Sass file. It's not guaranteed that the standalone Angular compiler plugin supports Sass without custom logic that is brought in by the Angular CLI webpack plugin. In order to avoid any failures for invalid stylesheets, we just disable normalizing of all referenced stylesheets. PR Close #29876
- Loading branch information
1 parent
ca59164
commit c1d5fbd
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters