c64bac57a6
Fix Sass build
23 lines
514 B
Python
23 lines
514 B
Python
load("//ts:vendor.bzl", "pkg_from_name", "vendor_js_lib")
|
|
load("@io_bazel_rules_sass//:defs.bzl", "sass_library")
|
|
|
|
# copy bootstrap sass files in
|
|
vendor_js_lib(
|
|
name = "sass-sources",
|
|
include = [
|
|
"scss",
|
|
],
|
|
base = "external/npm/node_modules/bootstrap/",
|
|
pkg = pkg_from_name("bootstrap"),
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
# wrap them in a library
|
|
sass_library(
|
|
name = "bootstrap",
|
|
srcs = [
|
|
":sass-sources",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|