Skip to content

Commit

Permalink
fix(@ngtools/webpack): avoid resetting emit skipped flag before emit
Browse files Browse the repository at this point in the history
Fixes #14719
  • Loading branch information
clydin authored and kyliau committed Jun 10, 2019
1 parent eaae1a9 commit b7e48d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ngtools/webpack/src/angular_compiler_plugin.ts
Expand Up @@ -845,7 +845,6 @@ export class AngularCompilerPlugin {

private async _make(compilation: compilation.Compilation) {
time('AngularCompilerPlugin._make');
this._emitSkipped = true;
// tslint:disable-next-line:no-any
if ((compilation as any)._ngToolsWebpackPluginInstance) {
throw new Error('An @ngtools/webpack plugin already exist for this compilation.');
Expand Down

0 comments on commit b7e48d0

Please sign in to comment.