A Gazelle language extension that maintains ordinary CSS libraries and opt-in CSS Module contracts, including standard dependency mappings for generated imports. The repository includes Bazel consumer examples, automated GitHub releases, and Bazel Central Registry publication support.
Add the module to MODULE.bazel:
bazel_dep(name = "gazelle", version = "0.50.0")
bazel_dep(name = "gazelle_css", version = "0.0.0")Compose the extension into a Gazelle binary in the root BUILD.bazel:
load("@gazelle//:def.bzl", "gazelle", "gazelle_binary")
gazelle_binary(
name = "gazelle_bin",