fix/ replace aotPlugin in no prod mode
This commit is contained in:
@@ -187,14 +187,14 @@ if(scripts.length > 0){
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
plugins.push(new AotPlugin({
|
plugins.push(new AngularCompilerPlugin({
|
||||||
|
entryModule: "src/app/app.module#AppModule",
|
||||||
"mainPath": "main.ts",
|
"mainPath": "main.ts",
|
||||||
"hostReplacementPaths": {
|
"hostReplacementPaths": {
|
||||||
"environments/index.ts": "environments/index.ts"
|
"environments/index.ts": "environments/index.ts"
|
||||||
},
|
},
|
||||||
"exclude": [],
|
"exclude": [],
|
||||||
"tsConfigPath": "src/tsconfig.app.json",
|
"tsConfigPath": "src/tsconfig.app.json"
|
||||||
"skipCodeGeneration": true
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user