Skip to content

Commit 93fc9df

Browse files
committed
comments, round 2
1 parent 1379e35 commit 93fc9df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/webpack/src/compiler_host.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export class WebpackCompilerHost implements ts.CompilerHost {
116116
}
117117

118118
for (const fileName of Object.keys(this._files)) {
119-
console.log(1, fileName);
120119
const stats = this._files[fileName];
121120
fs._statStorage.data[fileName] = [null, stats];
122121
fs._readFileStorage.data[fileName] = [null, stats.content];

packages/webpack/src/plugin.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ export class AotPlugin implements Tapable {
227227
basePath: this.basePath
228228
};
229229

230-
// We need to temporarily patch the CodeGenerator until either it's patched or allows us
231-
// to pass in our own ReflectorHost.
232230
let promise = Promise.resolve();
233231
if (!this._skipCodeGeneration) {
234232
// Create the Code Generator.
@@ -241,6 +239,9 @@ export class AotPlugin implements Tapable {
241239
this._resourceLoader
242240
);
243241

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.
244245
patchReflectorHost(codeGenerator);
245246
promise = promise.then(() => codeGenerator.codegen({
246247
transitiveModules: true

0 commit comments

Comments
 (0)