about summary refs log blame commit diff
path: root/nix/buildBazelPackageNG/bazelRulesNodeJS5Hook/local_node/BUILD
blob: d764d23ffd1a1a0715874b05b07596b4aba8d0b8 (plain) (tree)



















                                                                                           
load("@build_bazel_rules_nodejs//nodejs:toolchain.bzl", _node_toolchain = "node_toolchain")

package(default_visibility = ["//visibility:public"])

exports_files([
    "bin/node",
    "bin/npm",
])

_node_toolchain(
    name = "node_toolchain",
    target_tool_path = "__NODEJS__/bin/node",
    npm_path = "__NODEJS__/bin/npm",
)

toolchain(
    name = "nodejs",
    toolchain = ":node_toolchain",
    toolchain_type = "@build_bazel_rules_nodejs//nodejs:toolchain_type",
)