build: move repeated tsconfig attributes to a macro (#20964)

This helps ensure we use the same tsconfig.json file for all compilations.
Next steps are to make it the same tsconfig.json file used by the editor

PR Close #20964
This commit is contained in:
Alex Eagle
2018-01-09 15:24:00 -08:00
parent 31b671ab54
commit 5ede67c345
54 changed files with 83 additions and 123 deletions

View File

@ -1,4 +1,5 @@
load("@build_bazel_rules_typescript//:defs.bzl", "ts_library", "ts_web_test")
load("//tools:defaults.bzl", "ts_library")
load("@build_bazel_rules_typescript//:defs.bzl", "ts_web_test")
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
ts_library(
@ -8,7 +9,6 @@ ts_library(
["**/*.ts"],
exclude = ["**/*_node_only_spec.ts"],
),
tsconfig = "//packages:tsconfig",
deps = [
"//packages/common",
"//packages/common/locales",