angular/modules/playground/e2e_test/sourcemap/BUILD.bazel
Paul Gschwendtner 9d7768ccd6 build: rework benchmarks and examples in modules/ to new optimization rule (#61566)
We are dropping the custom ESBuild and Terser pipeline from dev-infra
and instead leverage the Angular CLI directly. This commit adjusts
the benchmarks to use this new rule.

PR Close #61566
2025-05-29 14:39:11 -04:00

19 lines
575 B
Text

load("//modules/playground/e2e_test:example_test.bzl", "example_test")
example_test(
name = "sourcemap",
srcs = glob(["**/*.ts"]),
data = [
"//modules/playground/src/sourcemap:bundles",
"//modules/playground/src/sourcemap:main.ts",
"@npm//source-map",
],
# Source-Map is using WASM and cannot be bundled for specs.
external = ["source-map"],
server = "//modules/playground/src/sourcemap:devserver",
use_legacy_webdriver_types = False,
deps = [
"@npm//@bazel/runfiles",
"@npm//source-map",
],
)