diff --git a/WORKSPACE b/WORKSPACE index 2a82660fdcbe..0ec2dcbd0ed2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,5 +1,7 @@ workspace(name = "angular_material") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + # Add NodeJS rules (explicitly used for sass bundle rules) http_archive( name = "build_bazel_rules_nodejs", diff --git a/src/cdk/BUILD.bazel b/src/cdk/BUILD.bazel index d7ff562ddcb5..1cef9e0beab5 100644 --- a/src/cdk/BUILD.bazel +++ b/src/cdk/BUILD.bazel @@ -4,9 +4,6 @@ load("@angular//:index.bzl", "ng_package") load("//:packages.bzl", "CDK_TARGETS", "ROLLUP_GLOBALS", "VERSION_PLACEHOLDER_REPLACEMENTS") load("//tools:defaults.bzl", "ng_module") -# Export the CDK tsconfig so that subpackages can reference it directly. -exports_files(["tsconfig-build.json"]) - # Root "@angular/cdk" entry-point that does not re-export individual entry-points. ng_module( name = "cdk", @@ -15,7 +12,6 @@ ng_module( deps = [ "@angular//packages/core", ], - tsconfig = ":tsconfig-build.json", ) # Creates the @angular/cdk package published to npm.