Skip to content

Commit a2e0431

Browse files
devversionjelbourn
authored andcommitted
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.
1 parent e040db7 commit a2e0431

File tree

8 files changed

+3
-9
lines changed

8 files changed

+3
-9
lines changed

src/material-experimental/mdc-button/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ ng_module(
1919
deps = [
2020
"//src/cdk/platform",
2121
"//src/material/core",
22-
"@npm//@angular/animations",
23-
"@npm//material-components-web",
2422
],
2523
)
2624

src/material-experimental/mdc-card/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ng_module(
1414
module_name = "@angular/material-experimental/mdc-card",
1515
deps = [
1616
"//src/material/core",
17-
"@npm//material-components-web",
1817
],
1918
)
2019

src/material-experimental/mdc-checkbox/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ng_module(
2424
"@npm//@angular/common",
2525
"@npm//@angular/core",
2626
"@npm//@angular/forms",
27-
"@npm//material-components-web",
27+
"@npm//@material/checkbox",
2828
],
2929
)
3030

src/material-experimental/mdc-chips/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ng_module(
1818
"@npm//@angular/common",
1919
"@npm//@angular/core",
2020
"@npm//@angular/forms",
21-
"@npm//material-components-web",
21+
"@npm//@material/chips",
2222
],
2323
)
2424

src/material-experimental/mdc-menu/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ng_module(
1919
"@npm//@angular/animations",
2020
"@npm//@angular/common",
2121
"@npm//@angular/core",
22-
"@npm//material-components-web",
2322
],
2423
)
2524

src/material-experimental/mdc-radio/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ng_module(
1414
module_name = "@angular/material-experimental/mdc-radio",
1515
deps = [
1616
"//src/material/core",
17-
"@npm//material-components-web",
1817
],
1918
)
2019

src/material-experimental/mdc-slide-toggle/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ng_module(
1919
"@npm//@angular/common",
2020
"@npm//@angular/core",
2121
"@npm//@angular/forms",
22-
"@npm//material-components-web",
22+
"@npm//@material/switch",
2323
],
2424
)
2525

src/material-experimental/mdc-tabs/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ ng_module(
1616
"//src/material/core",
1717
"@npm//@angular/common",
1818
"@npm//@angular/core",
19-
"@npm//material-components-web",
2019
],
2120
)
2221

0 commit comments

Comments
 (0)