mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5a9059be38
This upgrades the Saucelabs Bazel step on CI to use the more efficient Saucelabs daemon PR Close #49200
27 lines
559 B
Python
27 lines
559 B
Python
load("//tools:defaults.bzl", "esbuild", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "launcher",
|
|
srcs = [
|
|
"index.ts",
|
|
"launcher.ts",
|
|
],
|
|
deps = [
|
|
"//tools/saucelabs-daemon",
|
|
"@npm//@types/node",
|
|
],
|
|
)
|
|
|
|
# We need a commonjs version of the launcher that can be required from the
|
|
# root karma-js.conf.js.
|
|
esbuild(
|
|
name = "launcher_cjs",
|
|
entry_point = "index.ts",
|
|
format = "cjs",
|
|
output = "index.cjs",
|
|
platform = "node",
|
|
deps = [":launcher"],
|
|
)
|