build: switch away from deprecated http_archive usage (#14084)

This commit is contained in:
Paul Gschwendtner
2018-11-14 23:20:50 +01:00
committed by Andrew Seguin
parent f31e9be2b0
commit a4e1a5ddb8
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -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",
-4
View File
@@ -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.