build: fine grain build dependencies for mdc prototypes

Currently the Bazel targets for the MDC prototypes always specify the
kitchen-sink package for `mdc` as dependency. This results in a lot
files that need to be provided in the sandbox but aren't necessarily used.

Ideally only packages which are used, will be added to the target dependencies.
This commit is contained in:
Paul Gschwendtner
2019-07-11 10:42:42 +02:00
committed by Jeremy Elbourn
parent e040db728c
commit a2e04317b1
8 changed files with 3 additions and 9 deletions
@@ -19,8 +19,6 @@ ng_module(
deps = [
"//src/cdk/platform",
"//src/material/core",
"@npm//@angular/animations",
"@npm//material-components-web",
],
)
@@ -14,7 +14,6 @@ ng_module(
module_name = "@angular/material-experimental/mdc-card",
deps = [
"//src/material/core",
"@npm//material-components-web",
],
)
@@ -24,7 +24,7 @@ ng_module(
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//@angular/forms",
"@npm//material-components-web",
"@npm//@material/checkbox",
],
)
@@ -18,7 +18,7 @@ ng_module(
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//@angular/forms",
"@npm//material-components-web",
"@npm//@material/chips",
],
)
@@ -19,7 +19,6 @@ ng_module(
"@npm//@angular/animations",
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//material-components-web",
],
)
@@ -14,7 +14,6 @@ ng_module(
module_name = "@angular/material-experimental/mdc-radio",
deps = [
"//src/material/core",
"@npm//material-components-web",
],
)
@@ -19,7 +19,7 @@ ng_module(
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//@angular/forms",
"@npm//material-components-web",
"@npm//@material/switch",
],
)
@@ -16,7 +16,6 @@ ng_module(
"//src/material/core",
"@npm//@angular/common",
"@npm//@angular/core",
"@npm//material-components-web",
],
)