BUILD.bazel 650 B

123456789101112131415161718
  1. package(default_visibility = ["//visibility:public"])
  2. exports_files(["tsconfig.json"])
  3. load("@build_bazel_rules_typescript//:defs.bzl", "ts_library")
  4. ts_library(
  5. name = "rxjs",
  6. module_name = "rxjs",
  7. srcs = glob(["*.ts", "**/*.ts"]),
  8. tsconfig = "tsconfig.json",
  9. # Specify the compile-time dependencies to run the compilation (eg. typescript)
  10. # The default value assumes that the end-user has a target //:node_modules
  11. # but not all users do.
  12. # This also makes the build more reproducible, in case the user's TypeScript
  13. # version isn't compatible.
  14. node_modules = "@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules",
  15. )