mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: switch away missing deps from @npm namespace (#13949)
This commit is contained in:
committed by
Jeremy Elbourn
parent
c64503e0bf
commit
2a9e132e4f
@@ -13,7 +13,7 @@ ng_module(
|
||||
"@angular//packages/common",
|
||||
"@angular//packages/core",
|
||||
"@angular//packages/forms",
|
||||
"@npm//moment",
|
||||
"@matdeps//moment",
|
||||
"//src/material-moment-adapter",
|
||||
] + CDK_TARGETS + MATERIAL_TARGETS,
|
||||
# Specify the tsconfig that is also used by Gulp. We need to explicitly use this tsconfig
|
||||
|
||||
@@ -7,8 +7,8 @@ ts_library(
|
||||
name = "example-module-lib",
|
||||
srcs = glob(["**/*.ts"]),
|
||||
deps = [
|
||||
"@npm//@types/node",
|
||||
"@npm//typescript",
|
||||
"@matdeps//@types/node",
|
||||
"@matdeps//typescript",
|
||||
],
|
||||
tsconfig = ":tsconfig.json",
|
||||
)
|
||||
@@ -17,8 +17,8 @@ nodejs_binary(
|
||||
name = "bazel-bin",
|
||||
entry_point = "angular_material/tools/example-module/bazel-bin.js",
|
||||
data = [
|
||||
"@npm//typescript",
|
||||
"@npm//source-map-support",
|
||||
"@matdeps//typescript",
|
||||
"@matdeps//source-map-support",
|
||||
":example-module-lib",
|
||||
":example-module.template",
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user