hunk.code_window:             actions.push(
                 brotliCompressAsync(scriptAsset.source.source())
                   .then((result) => {
                     compilation.updateAsset(assetName, (s) => s, {
                       estimatedTransferSize: result.length,
                     });
                   })
                   .catch((error) => {
                     compilation.warnings.push(
  
hunk.labels: keep keep keep keep replace replace replace keep keep keep
hunk.after_edit:                   compilation.updateAsset(
                       assetName,
                       (s) => s,
                       (assetInfo) => ({
                         ...assetInfo,
                         estimatedTransferSize: result.length,
                       }),
                     );
  
hunk.file_path: packages/angular_devkit/build_angular/src/webpack/plugins/transfer-size-plugin.ts
hunk.type: replace
file: 
  # Ignores TypeScript files, but keeps definitions.
  *.ts
  !*.d.ts
  