hunk.code_window:     const referencedFiles = typeScriptProgram
         .getSourceFiles()
         .filter((sourceFile) => !angularCompiler.ignoreForEmit.has(sourceFile))
         .map((sourceFile) => sourceFile.fileName);
       return { affectedFiles, compilerOptions, referencedFiles };
     }
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.after_edit:       .flatMap((sourceFile) => [
           sourceFile.fileName,
           ...angularCompiler.getResourceDependencies(sourceFile),
         ]);
  
hunk.file_path: packages/angular_devkit/build_angular/src/tools/esbuild/angular/aot-compilation.ts
hunk.type: replace
file: load("//tools:defaults.bzl", "ts_library")
  
  ts_library(
      name = "tests",
      testonly = True,
      srcs = glob(["**/*.ts"]),
      data = [
          "//tests/legacy-cli/e2e/ng-snapshot",
      ],
      visibility = ["//visibility:public"],
      deps = [
          "//tests/legacy-cli/e2e/utils",
          "@npm//@types/express",
          "@npm//@types/node-fetch",
          "@npm//@types/semver",
          "@npm//express",
          "@npm//fast-glob",
          "@npm//node-fetch",
          "@npm//semver",
      ],
  )
  