Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion bazel/spec-bundling/spec-entrypoint.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ def _spec_entrypoint_impl(ctx):
# Note: `to_list()` is an expensive operation but we need to do this for every
# dependency here in order to be able to filter out spec files from depsets.
direct_bootstrap_files = depset(transitive = bootstrap_direct_deps).to_list()
bootstrap_files = _filter_files(direct_bootstrap_files, ["init"])

# Filter to only js and mjs files, we can't always define what the name of the files
# needed for bootstrapping are so we rely on the user to provide the exact list.
bootstrap_files = _filter_files(direct_bootstrap_files, [""])

ctx.actions.write(
output = output,
Expand Down
Loading