mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
build: remove unused macro (#62878)
Remove unused npm_package_bin macro PR Close #62878
This commit is contained in:
parent
c1ac84cd90
commit
d272ffd072
1 changed files with 1 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
"""Re-export of some bazel rules with repository-wide defaults."""
|
||||
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", _npm_package_bin = "npm_package_bin", _pkg_npm = "pkg_npm")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", _pkg_npm = "pkg_npm")
|
||||
load("@devinfra//bazel:extract_js_module_output.bzl", "extract_js_module_output")
|
||||
load("@devinfra//bazel:extract_types.bzl", _extract_types = "extract_types")
|
||||
load("@devinfra//bazel/http-server:index.bzl", _http_server = "http_server")
|
||||
|
|
@ -90,14 +90,6 @@ def pkg_npm(name, deps = [], validate = True, **kwargs):
|
|||
visibility = visibility,
|
||||
)
|
||||
|
||||
def npm_package_bin(args = [], **kwargs):
|
||||
_npm_package_bin(
|
||||
# Disable the linker and rely on patched resolution which works better on Windows
|
||||
# and is less prone to race conditions when targets build concurrently.
|
||||
args = ["--nobazel_run_linker"] + args,
|
||||
**kwargs
|
||||
)
|
||||
|
||||
def generate_api_docs(**kwargs):
|
||||
_generate_api_docs(
|
||||
# We need to specify import mappings for Angular packages that import other Angular
|
||||
|
|
|
|||
Loading…
Reference in a new issue