From 89dd386f20eecb4d6db02a6aa3915ac2a518689b Mon Sep 17 00:00:00 2001 From: Will Chen Date: Fri, 8 Dec 2023 15:28:19 -0800 Subject: [PATCH] Inline ANGULAR_MATERIAL_SASS_DEPS (to simplify downstream sync) --- build_defs/defaults.bzl | 4 ---- optic/web/src/app/BUILD | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) 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, )