fix/ replace aotPlugin in no prod mode

This commit is contained in:
Maxime GRIS
2017-11-18 20:31:02 +01:00
parent fccef2f338
commit a0caf1e292

View File

@@ -187,14 +187,14 @@ if(scripts.length > 0){
}));
} else {
plugins.push(new AotPlugin({
plugins.push(new AngularCompilerPlugin({
entryModule: "src/app/app.module#AppModule",
"mainPath": "main.ts",
"hostReplacementPaths": {
"environments/index.ts": "environments/index.ts"
},
"exclude": [],
"tsConfigPath": "src/tsconfig.app.json",
"skipCodeGeneration": true
"tsConfigPath": "src/tsconfig.app.json"
}));
}