Skip to content

Commit 56fe791

Browse files
crisbetojelbourn
authored andcommitted
build: fix errors in mdc-snackbar build (#17747)
Fixes some CI issues in the `mdc-snackbar` build setup.
1 parent 6bda718 commit 56fe791

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package(default_visibility = ["//visibility:public"])
22

33
load("@io_bazel_rules_sass//:defs.bzl", "sass_binary", "sass_library")
4-
load("//:packages.bzl", "CDK_TARGETS", "MATERIAL_TARGETS")
54
load("//tools:defaults.bzl", "ng_module")
65

76
ng_module(
@@ -13,8 +12,10 @@ ng_module(
1312
assets = [":snackbar_scss"] + glob(["**/*.html"]),
1413
module_name = "@angular/material-experimental/mdc-snackbar",
1514
deps = [
16-
"@npm//material-components-web",
17-
] + CDK_TARGETS + MATERIAL_TARGETS,
15+
"//src/material/core",
16+
"@npm//@angular/common",
17+
"@npm//@angular/core",
18+
],
1819
)
1920

2021
sass_library(

src/material-experimental/mdc-snackbar/snackbar.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';
1010

1111
@Component({
12-
moduleId: module.id,
1312
selector: 'mat-snackbar',
1413
templateUrl: 'snackbar.html',
1514
styleUrls: ['snackbar.css'],

0 commit comments

Comments
 (0)