build: load build_bazel_rules_nodejs through external (#33041)

PR Close #33041
This commit is contained in:
Alex Eagle 2019-10-08 10:23:08 -07:00 committed by Alex Rickabaugh
parent 64823f561c
commit c653a16b57
2 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,10 @@ load(
"@npm_bazel_typescript//internal:ts_config.bzl", "@npm_bazel_typescript//internal:ts_config.bzl",
_TsConfigInfo = "TsConfigInfo", _TsConfigInfo = "TsConfigInfo",
) )
load(
"@build_bazel_rules_nodejs//:providers.bzl",
_transitive_js_ecma_script_module_info = "transitive_js_ecma_script_module_info",
)
NodeModuleSources = _NodeModuleSources NodeModuleSources = _NodeModuleSources
collect_node_modules_aspect = _collect_node_modules_aspect collect_node_modules_aspect = _collect_node_modules_aspect
@ -38,3 +42,4 @@ DEFAULT_NG_COMPILER = "@npm//@angular/bazel/bin:ngc-wrapped"
DEFAULT_NG_XI18N = "@npm//@angular/bazel/bin:xi18n" DEFAULT_NG_XI18N = "@npm//@angular/bazel/bin:xi18n"
FLAT_DTS_FILE_SUFFIX = ".bundle.d.ts" FLAT_DTS_FILE_SUFFIX = ".bundle.d.ts"
TsConfigInfo = _TsConfigInfo TsConfigInfo = _TsConfigInfo
transitive_js_ecma_script_module_info = _transitive_js_ecma_script_module_info

View File

@ -19,8 +19,8 @@ load(
"compile_ts", "compile_ts",
"ts_providers_dict_to_struct", "ts_providers_dict_to_struct",
"tsc_wrapped_tsconfig", "tsc_wrapped_tsconfig",
"transitive_js_ecma_script_module_info",
) )
load("@build_bazel_rules_nodejs//:providers.bzl", "transitive_js_ecma_script_module_info")
_FLAT_DTS_FILE_SUFFIX = ".bundle.d.ts" _FLAT_DTS_FILE_SUFFIX = ".bundle.d.ts"
_R3_SYMBOLS_DTS_FILE = "src/r3_symbols.d.ts" _R3_SYMBOLS_DTS_FILE = "src/r3_symbols.d.ts"