load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary") nodejs_binary( name = "svelte_bin", data = [ ":svelte.js", "@npm//@bazel/worker", "@npm//sass", "@npm//svelte", "@npm//svelte-preprocess", "@npm//svelte2tsx", "@npm//typescript", ], entry_point = ":svelte.js", visibility = ["//visibility:public"], )