fix/ Replace AotPlugin to AngularCompilerPlugin

This commit is contained in:
Maxime GRIS
2017-11-18 20:12:41 +01:00
parent 87e695d736
commit bef106e2f6
3 changed files with 9 additions and 4 deletions

View File

@@ -8,4 +8,8 @@ if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule);
platformBrowserDynamic()
.bootstrapModule(AppModule, {
preserveWhitespaces: false
})
.catch(err => console.error(err));