Skip to content

Commit

Permalink
fix/ replace aotPlugin in no prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegris committed Nov 18, 2017
1 parent fccef2f commit a0caf1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}));
}

Expand Down

0 comments on commit a0caf1e

Please sign in to comment.