mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: switch away from deprecated http_archive usage (#14084)
This commit is contained in:
committed by
Andrew Seguin
parent
f31e9be2b0
commit
a4e1a5ddb8
@@ -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,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.
|
||||
|
||||
Reference in New Issue
Block a user