The changelog at https://github.com/angular/angular/blob/master/CHANGELOG.md mentions:
PLATFORM_PIPES and PLATFORM_DIRECTIVES now are fields on Compiler
I used the disableDeprecatedForms() method from here as a guide: https://github.com/angular/angular/blob/master/modules/@angular/forms/src/form_providers.ts
So your code should look something like:
bootstrap(
AppComponent,
[...
provide(CompilerConfig, {
useFactory: (platformDirectives: any[], platformPipes: any[]) => {
return new CompilerConfig({
platformDirectives: platformDirectives.concat(...ROUTER_DIRECTIVES),
platformPipes: platformPipes
});
},
deps: [PLATFORM_DIRECTIVES, PLATFORM_PIPES]}),
...]);