diff --git a/internal/node/node.bzl b/internal/node/node.bzl index 514684e1..64704611 100755 --- a/internal/node/node.bzl +++ b/internal/node/node.bzl @@ -312,7 +312,7 @@ fi "TEMPLATED_repository_args": _to_manifest_path(ctx, ctx.file._repository_args), "TEMPLATED_require_patch_script": _to_manifest_path(ctx, ctx.outputs.require_patch_script), "TEMPLATED_runfiles_helper_script": _to_manifest_path(ctx, ctx.file._runfile_helpers_main), - "TEMPLATED_vendored_node": "" if is_builtin else strip_external(ctx.file._node.path), + "TEMPLATED_vendored_node": ctx.toolchains["@build_bazel_rules_nodejs//toolchains/node:toolchain_type"].nodeinfo.target_tool_path, } substitutions["TEMPLATED_entry_point_manifest"] = _ts_to_js(_to_manifest_path(ctx, _get_entry_point_file(ctx)))