mirror of
https://github.com/ankitects/anki.git
synced 2025-11-10 14:47:12 -05:00
The separate repo made it difficult to update the rules, and made things more complicated than they needed to be.
24 lines
579 B
Text
24 lines
579 B
Text
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
|
|
|
nodejs_binary(
|
|
name = "typescript",
|
|
data = [
|
|
"@npm//typescript",
|
|
],
|
|
entry_point = "@npm//:node_modules/typescript/lib/tsc.js",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
nodejs_binary(
|
|
name = "svelte",
|
|
data = [
|
|
":svelte.js",
|
|
"@npm//sass",
|
|
"@npm//svelte",
|
|
"@npm//svelte-preprocess",
|
|
"@npm//svelte2tsx",
|
|
],
|
|
entry_point = ":svelte.js",
|
|
templated_args = ["--bazel_patch_module_resolver"],
|
|
visibility = ["//visibility:public"],
|
|
)
|