angular-cn/packages/core/schematics/migrations
Paul Gschwendtner c1d5fbd0ad refactor(core): static-query template strategy should not parse stylesheets (#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
2019-04-18 18:22:09 -07:00
..
static-queries refactor(core): static-query template strategy should not parse stylesheets (#29876) 2019-04-18 18:22:09 -07:00
template-var-assignment refactor(core): migrations do not properly handle multiple templates in source file (#29841) 2019-04-15 11:13:39 -07:00