This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
import os | |
import sys | |
from bazel_tools.tools.python.runfiles import runfiles | |
DEFAULT_PYTHON_FLAGS = ["-B", "-s"] | |
ARGV = sys.argv[1:] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// THIS FILE IS AUTO GENERATED BY TEMPL_TARGET | |
// DO NOT EDIT | |
const path = require('path'); | |
const child_process = require('child_process'); | |
const runfiles = require(process.env.BAZEL_NODE_RUNFILES_HELPER); | |
/** | |
* Helper function to find a particular namedFile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("@build_bazel_rules_nodejs//:providers.bzl", "JSEcmaScriptModuleInfo", "JSModuleInfo", "NpmPackageInfo", "node_modules_aspect") | |
load("@build_bazel_rules_nodejs//internal/linker:link_node_modules.bzl", "module_mappings_aspect") | |
def _strip_ext(f): | |
return f.short_path[:-len(f.extension) - 1] | |
def _resolve_js_input(f, inputs): | |
if f.extension == "js" or f.extension == "mjs": | |
return f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/BUILD.bazel b/BUILD.bazel | |
index 6486cc5..b898b6d 100755 | |
--- BUILD.bazel | |
+++ BUILD.bazel | |
@@ -13,8 +13,8 @@ | |
# limitations under the License. | |
# bazel_skylib mocked out | |
-# load("@bazel_skylib//:bzl_library.bzl", "bzl_library") | |
-load("@build_bazel_rules_nodejs//:index.bzl", bzl_library = "dummy_bzl_library") | |
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library") |