diff --git a/build_defs/defaults.bzl b/build_defs/defaults.bzl index c42e02541..b8de6e1dd 100644 --- a/build_defs/defaults.bzl +++ b/build_defs/defaults.bzl @@ -39,10 +39,6 @@ ANGULAR_CORE_DEPS = [ "@npm//@angular/compiler", ] -ANGULAR_MATERIAL_SASS_DEPS = [ - "@npm//@angular/material", -] - ANGULAR_MATERIAL_TS_DEPS = [ "@npm//@angular/material", ] diff --git a/optic/web/src/app/BUILD b/optic/web/src/app/BUILD index 4337fa826..5eb69acfd 100644 --- a/optic/web/src/app/BUILD +++ b/optic/web/src/app/BUILD @@ -1,4 +1,4 @@ -load("//build_defs:defaults.bzl", "ANGULAR_CDK_TS_DEPS", "ANGULAR_CORE_DEPS", "ANGULAR_MATERIAL_SASS_DEPS", "ANGULAR_MATERIAL_TS_DEPS", "esbuild_config", "ng_module", "sass_external_binary") +load("//build_defs:defaults.bzl", "ANGULAR_CDK_TS_DEPS", "ANGULAR_CORE_DEPS", "ANGULAR_MATERIAL_TS_DEPS", "esbuild_config", "ng_module", "sass_external_binary") package( default_visibility = ["//build_defs:optic_internal"], @@ -30,6 +30,8 @@ esbuild_config( sass_external_binary( name = "styles", src = "styles.scss", - external_deps = ANGULAR_MATERIAL_SASS_DEPS, + external_deps = [ + "@npm//@angular/material", + ], sourcemap = False, )