distro-tools/apollo/server/static/BUILD.bazel

21 lines
486 B
Python
Raw Normal View History

2023-02-01 21:37:16 +00:00
load("@aspect_rules_esbuild//esbuild:defs.bzl", "esbuild")
srcs = glob([
"*.ts",
"*.scss",
])
esbuild(
name = "static",
srcs = srcs + [
"//:node_modules/@carbon/themes",
"//:node_modules/@carbon/web-components",
"//:node_modules/carbon-components",
"//:node_modules/esbuild-sass-plugin",
],
config = ":esbuild.config.mjs",
entry_point = "index.ts",
output_css = "static.css",
visibility = ["//visibility:public"],
)