distro-tools/apollo/server/static/BUILD.bazel
2023-02-01 22:37:16 +01:00

20 lines
486 B
Text

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"],
)