mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Remove usages of nodejs_binary and use a commonly defined js_binary macro PR Close #62860
18 lines
402 B
Text
18 lines
402 B
Text
load("@aspect_rules_js//js:defs.bzl", "js_library")
|
|
|
|
js_library(
|
|
name = "node_loader_lib",
|
|
srcs = glob(
|
|
["*.mjs"],
|
|
exclude = ["index.mjs"],
|
|
),
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//:node_modules/get-tsconfig"],
|
|
)
|
|
|
|
js_library(
|
|
name = "node_loader",
|
|
srcs = ["index.mjs"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [":node_loader_lib"],
|
|
)
|