mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
622e10881f
Remove usages of nodejs_binary and use a commonly defined js_binary macro PR Close #62860
19 lines
402 B
Python
19 lines
402 B
Python
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"],
|
|
)
|