File tree 1 file changed +4
-5
lines changed 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ module.exports = (env) => {
60
60
// new BundleAnalyzerPlugin(),
61
61
// Plugins that apply in production builds only
62
62
new webpack . optimize . UglifyJsPlugin ( ) ,
63
- new AotPlugin ( {
63
+ new AngularCompilerPlugin ( {
64
64
tsConfigPath : './tsconfig.json' ,
65
65
entryModule : path . join ( __dirname , 'ClientApp/app/app.module.browser#AppModule' ) ,
66
66
exclude : [ './**/*.server.ts' ]
@@ -107,10 +107,9 @@ module.exports = (env) => {
107
107
} ) ,
108
108
// Plugins that apply in production builds only
109
109
new AngularCompilerPlugin ( {
110
- mainPath : path . join ( __dirname , 'ClientApp/boot.server.PRODUCTION.ts' ) ,
111
- tsConfigPath : './tsconfig.json' ,
112
- entryModule : path . join ( __dirname , 'ClientApp/app/app.module.server#AppModule' ) ,
113
- exclude : [ './**/*.browser.ts' ]
110
+ tsConfigPath : './tsconfig.json' ,
111
+ entryModule : path . join ( __dirname , 'ClientApp/app/app.module.server#AppModule' ) ,
112
+ exclude : [ './**/*.browser.ts' ]
114
113
} )
115
114
] ) ,
116
115
output : {
You can’t perform that action at this time.
0 commit comments