Skip to content

Commit a0caf1e

Browse files
committed
fix/ replace aotPlugin in no prod mode
1 parent fccef2f commit a0caf1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webpack.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ if(scripts.length > 0){
187187
}));
188188

189189
} else {
190-
plugins.push(new AotPlugin({
190+
plugins.push(new AngularCompilerPlugin({
191+
entryModule: "src/app/app.module#AppModule",
191192
"mainPath": "main.ts",
192193
"hostReplacementPaths": {
193194
"environments/index.ts": "environments/index.ts"
194195
},
195196
"exclude": [],
196-
"tsConfigPath": "src/tsconfig.app.json",
197-
"skipCodeGeneration": true
197+
"tsConfigPath": "src/tsconfig.app.json"
198198
}));
199199
}
200200

0 commit comments

Comments
 (0)