hunk.code_window:         }
           cb();
         }, (err: any) => {
           compilation.errors.push(err.stack);
           cb();
         });
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:         this._failedCompilation = true;
  
hunk.file_path: packages/@ngtools/webpack/src/plugin.ts
hunk.type: add
file: import {join} from 'path';
  import {expectFileToExist} from '../../utils/fs';
  import {expectToFail} from '../../utils/utils';
  import {ng} from '../../utils/process';
  
  export default function() {
    return ng('build', '--prod', '--extract-licenses=false')
      .then(() => expectFileToExist(join(process.cwd(), 'dist')))
      .then(() => expectToFail(() => expectFileToExist('dist/3rdpartylicenses.txt')));
  }
  