diff --git a/src/material-examples/BUILD.bazel b/src/material-examples/BUILD.bazel index 171fdac19c7..98f5abfffbb 100644 --- a/src/material-examples/BUILD.bazel +++ b/src/material-examples/BUILD.bazel @@ -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 diff --git a/tools/example-module/BUILD.bazel b/tools/example-module/BUILD.bazel index fc38693aebd..2915f23a4aa 100644 --- a/tools/example-module/BUILD.bazel +++ b/tools/example-module/BUILD.bazel @@ -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", ],