We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71394b commit 1ac037cCopy full SHA for 1ac037c
bazel/spec-bundling/spec-entrypoint.bzl
@@ -71,7 +71,10 @@ def _spec_entrypoint_impl(ctx):
71
# Note: `to_list()` is an expensive operation but we need to do this for every
72
# dependency here in order to be able to filter out spec files from depsets.
73
direct_bootstrap_files = depset(transitive = bootstrap_direct_deps).to_list()
74
- bootstrap_files = _filter_files(direct_bootstrap_files, ["init"])
+
75
+ # Filter to only js and mjs files, we can't always define what the name of the files
76
+ # needed for bootstrapping are so we rely on the user to provide the exact list.
77
+ bootstrap_files = _filter_files(direct_bootstrap_files, [""])
78
79
ctx.actions.write(
80
output = output,
0 commit comments