build: Introduce Bazel build rules
So far this just compiles the core and common packages.
This commit is contained in:

committed by
Alex Rickabaugh

parent
02d74cafba
commit
5faf520067
13
packages/common/BUILD
Normal file
13
packages/common/BUILD
Normal file
@ -0,0 +1,13 @@
|
||||
package(default_visibility=["//visibility:public"])
|
||||
load("@io_bazel_rules_typescript//:defs.bzl", "ts_library")
|
||||
|
||||
ts_library(
|
||||
name = "common",
|
||||
srcs = glob(["**/*.ts"], exclude=[
|
||||
"test/**",
|
||||
"testing/**",
|
||||
]),
|
||||
module_name = "@angular/common",
|
||||
deps = ["//packages/core"],
|
||||
tsconfig = ":tsconfig-build.json",
|
||||
)
|
Reference in New Issue
Block a user