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
3 changes: 0 additions & 3 deletions bazel/http-server/index.bzl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
load("@aspect_rules_js//js:providers.bzl", "JsInfo")
load("@build_bazel_rules_nodejs//:providers.bzl", "JSNamedModuleInfo")

def _get_workspace_name(ctx):
if ctx.label.workspace_root:
Expand Down Expand Up @@ -28,8 +27,6 @@ def _http_server_rule_impl(ctx):
# unwrapped in case there are built using TypeScript-specific rules.
transitive_depsets = []
for dep in ctx.attr.deps:
if JSNamedModuleInfo in dep:
transitive_depsets.append(dep[JSNamedModuleInfo].sources)
if JsInfo in dep:
transitive_depsets.append(dep[JsInfo].transitive_sources)
elif DefaultInfo in dep:
Expand Down