From c653a16b575bda1a728002cd57c3344ea104a39e Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Tue, 8 Oct 2019 10:23:08 -0700 Subject: [PATCH] build: load build_bazel_rules_nodejs through external (#33041) PR Close #33041 --- packages/bazel/src/external.bzl | 5 +++++ packages/bazel/src/ng_module.bzl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/bazel/src/external.bzl b/packages/bazel/src/external.bzl index 4959f22dde..90b9681e89 100644 --- a/packages/bazel/src/external.bzl +++ b/packages/bazel/src/external.bzl @@ -22,6 +22,10 @@ load( "@npm_bazel_typescript//internal:ts_config.bzl", _TsConfigInfo = "TsConfigInfo", ) +load( + "@build_bazel_rules_nodejs//:providers.bzl", + _transitive_js_ecma_script_module_info = "transitive_js_ecma_script_module_info", +) NodeModuleSources = _NodeModuleSources 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" FLAT_DTS_FILE_SUFFIX = ".bundle.d.ts" TsConfigInfo = _TsConfigInfo +transitive_js_ecma_script_module_info = _transitive_js_ecma_script_module_info \ No newline at end of file diff --git a/packages/bazel/src/ng_module.bzl b/packages/bazel/src/ng_module.bzl index b618e07224..1f6d6933ea 100644 --- a/packages/bazel/src/ng_module.bzl +++ b/packages/bazel/src/ng_module.bzl @@ -19,8 +19,8 @@ load( "compile_ts", "ts_providers_dict_to_struct", "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" _R3_SYMBOLS_DTS_FILE = "src/r3_symbols.d.ts"