build: switch to @build_bazel_rules_nodejs//:index.bzl load point (#33433)

The defs.bzl load point will be removed for the rules_nodejs 1.0 release.

PR Close #33433
This commit is contained in:
Greg Magolan
2019-10-25 01:13:43 -07:00
committed by Andrew Kushnir
parent 41979d6a27
commit 4ee354da99
17 changed files with 17 additions and 17 deletions

View File

@ -26,7 +26,7 @@ http_archive(
)
# Check the bazel version and download npm dependencies
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "check_rules_nodejs_version", "node_repositories", "yarn_install")
load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "check_rules_nodejs_version", "node_repositories", "yarn_install")
# Bazel version must be at least the following version because:
# - 0.26.0 managed_directories feature added which is required for nodejs rules 0.30.0