mirror of
https://github.com/angular/angular.git
synced 2026-11-23 15:07:51 -05:00
build: remove unused macro (#62878)
Remove unused npm_package_bin macro PR Close #62878
This commit is contained in:
committed by
Jessica Janiuk
parent
2c3faf7a7e
commit
c032f69287
+1
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user