mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
e040db728c
commit
a2e04317b1
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user