hunk.code_window: export class BundlerContext {
     #esbuildContext?: BuildContext<{ metafile: true; write: false }>;
     #esbuildOptions: BuildOptions & { metafile: true; write: false };
     constructor(
       private workspaceRoot: string,
       private incremental: boolean,
       options: BuildOptions,
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:   readonly watchFiles = new Set<string>();
  
hunk.file_path: packages/angular_devkit/build_angular/src/tools/esbuild/bundler-context.ts
hunk.type: add
file: load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test")
  load("//tools:defaults.bzl", "ts_library")
  load("//tools:toolchain_info.bzl", "TOOLCHAINS_NAMES", "TOOLCHAINS_VERSIONS")
  
  # Copyright Google Inc. All Rights Reserved.
  #
  # Use of this source code is governed by an MIT-style license that can be
  # found in the LICENSE file at https://angular.io/license
  licenses(["notice"])
  
  package(default_visibility = ["//visibility:public"])
  
  ts_library(
      name = "tools",
      srcs = glob(
          include = ["**/*.ts"],
          exclude = [
              "**/*_spec.ts",
              "test/**/*.ts",
          ],
      ),
      data = ["package.json"],
      module_name = "@angular-devkit/schematics/tools",
      module_root = "index.d.ts",
      deps = [
          "//packages/angular_devkit/core",
          "//packages/angular_devkit/core/node",
          "//packages/angular_devkit/schematics",
          "//packages/angular_devkit/schematics/tasks",
          "//packages/angular_devkit/schematics/tasks/node",
          "@npm//@types/node",
          "@npm//jsonc-parser",
          "@npm//rxjs",
      ],
  )
  
  # @external_begin
  
  ts_library(
      name = "tools_test_lib",
      testonly = True,
      srcs = glob(
          include = [
              "**/*_spec.ts",
              "test/**/*.ts",
          ],
      ),
      deps = [
          ":tools",
          "//packages/angular_devkit/core",
          "//packages/angular_devkit/core/node",
          "//packages/angular_devkit/schematics",
          "//packages/angular_devkit/schematics/tasks",
          "//packages/angular_devkit/schematics/testing",
          "//tests/angular_devkit/schematics/tools/file-system-engine-host:file_system_engine_host_test_lib",
          "@npm//rxjs",
      ],
  )
  
  [
      jasmine_node_test(
          name = "tools_test_" + toolchain_name,
          srcs = [":tools_test_lib"],
          tags = [toolchain_name],
          toolchain = toolchain,
          deps = [
              "@npm//jasmine",
              "@npm//source-map",
          ],
      )
      for toolchain_name, toolchain in zip(
          TOOLCHAINS_NAMES,
          TOOLCHAINS_VERSIONS,
      )
  ]
  
  # @external_end
  