Skip to content

Commit

Permalink
Inline ANGULAR_MATERIAL_SASS_DEPS (to simplify downstream sync)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwillchen committed Dec 8, 2023
1 parent 19becba commit 89dd386
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions build_defs/defaults.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ ANGULAR_CORE_DEPS = [
"@npm//@angular/compiler",
]

ANGULAR_MATERIAL_SASS_DEPS = [
"@npm//@angular/material",
]

ANGULAR_MATERIAL_TS_DEPS = [
"@npm//@angular/material",
]
Expand Down
6 changes: 4 additions & 2 deletions optic/web/src/app/BUILD
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down Expand Up @@ -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,
)

0 comments on commit 89dd386

Please sign in to comment.