File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ export class WebpackCompilerHost implements ts.CompilerHost {
116
116
}
117
117
118
118
for ( const fileName of Object . keys ( this . _files ) ) {
119
- console . log ( 1 , fileName ) ;
120
119
const stats = this . _files [ fileName ] ;
121
120
fs . _statStorage . data [ fileName ] = [ null , stats ] ;
122
121
fs . _readFileStorage . data [ fileName ] = [ null , stats . content ] ;
Original file line number Diff line number Diff line change @@ -227,8 +227,6 @@ export class AotPlugin implements Tapable {
227
227
basePath : this . basePath
228
228
} ;
229
229
230
- // We need to temporarily patch the CodeGenerator until either it's patched or allows us
231
- // to pass in our own ReflectorHost.
232
230
let promise = Promise . resolve ( ) ;
233
231
if ( ! this . _skipCodeGeneration ) {
234
232
// Create the Code Generator.
@@ -241,6 +239,9 @@ export class AotPlugin implements Tapable {
241
239
this . _resourceLoader
242
240
) ;
243
241
242
+ // We need to temporarily patch the CodeGenerator until either it's patched or allows us
243
+ // to pass in our own ReflectorHost.
244
+ // TODO: remove this.
244
245
patchReflectorHost ( codeGenerator ) ;
245
246
promise = promise . then ( ( ) => codeGenerator . codegen ( {
246
247
transitiveModules : true
You can’t perform that action at this time.
0 commit comments