Skip to content

Commit fcc0908

Browse files
authored
build: create sass_bundle bazel rule (#10055)
This defines a bazel rule to bundle sass partials into a single file using the "scss-bundle" npm package. The rule definition is commented so that it can serve as an example for creating other rules in the future. I've also added the missing build file for badge so that its theme can be included in the bundle.
1 parent 6273d6a commit fcc0908

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1387
-97
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
workspace(name = "angular_material_src")
1+
workspace(name = "angular_material")
22

33
# Add nodejs rules
44
git_repository(

components.bzl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# List of all @angular/material components / subpackages.
2+
MATERIAL_PACKAGES = [
3+
"autocomplete",
4+
"badge",
5+
"bottom-sheet",
6+
"button-toggle",
7+
"button",
8+
"card",
9+
"checkbox",
10+
"chips",
11+
"core",
12+
"datepicker",
13+
"dialog",
14+
"divider",
15+
"expansion",
16+
"form-field",
17+
"grid-list",
18+
"icon",
19+
"input",
20+
"list",
21+
"menu",
22+
"paginator",
23+
"progress-bar",
24+
"progress-spinner",
25+
"radio",
26+
"select",
27+
"sidenav",
28+
"slide-toggle",
29+
"slider",
30+
"snack-bar",
31+
"sort",
32+
"stepper",
33+
"table",
34+
"tabs",
35+
"toolbar",
36+
"tooltip",
37+
]

0 commit comments

Comments
 (0)