Skip to content

Commit a4e1a5d

Browse files
devversionandrewseguin
authored andcommitted
build: switch away from deprecated http_archive usage (#14084)
1 parent f31e9be commit a4e1a5d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

WORKSPACE

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
workspace(name = "angular_material")
22

3+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4+
35
# Add NodeJS rules (explicitly used for sass bundle rules)
46
http_archive(
57
name = "build_bazel_rules_nodejs",

src/cdk/BUILD.bazel

-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ load("@angular//:index.bzl", "ng_package")
44
load("//:packages.bzl", "CDK_TARGETS", "ROLLUP_GLOBALS", "VERSION_PLACEHOLDER_REPLACEMENTS")
55
load("//tools:defaults.bzl", "ng_module")
66

7-
# Export the CDK tsconfig so that subpackages can reference it directly.
8-
exports_files(["tsconfig-build.json"])
9-
107
# Root "@angular/cdk" entry-point that does not re-export individual entry-points.
118
ng_module(
129
name = "cdk",
@@ -15,7 +12,6 @@ ng_module(
1512
deps = [
1613
"@angular//packages/core",
1714
],
18-
tsconfig = ":tsconfig-build.json",
1915
)
2016

2117
# Creates the @angular/cdk package published to npm.

0 commit comments

Comments
 (0)