diff --git a/bazel/spec-bundling/index_rjs.bzl b/bazel/spec-bundling/index_rjs.bzl index 5108bb795..b9c5cf1aa 100644 --- a/bazel/spec-bundling/index_rjs.bzl +++ b/bazel/spec-bundling/index_rjs.bzl @@ -31,7 +31,7 @@ def spec_bundle(name, deps, srcs = [], bootstrap = [], testonly = True, config = bundle = True, format = "iife", sourcemap = "linked", - platform = "node", + platform = kwargs.pop("platform", "node"), entry_point = ":%s_entrypoint" % name, output = "%s.spec.js" % name, **kwargs