rules_closure icon indicating copy to clipboard operation
rules_closure copied to clipboard

Closure rules for Bazel

Results 86 rules_closure issues
Sort by recently updated
recently updated
newest added

It's failing: https://buildkite.com/bazel/rules-closure-closure-compiler/builds/558#6c9b9967-a67c-4151-9283-06179d6e47bd

**tl;dr** CSS rewriting does not seem to be working, at least in terms of JS' invocation of `getCssName`. Given the following setup (`WORKSPACE` and related wiring omitted): **`sample.soy`**: ```soy {namespace...

It would be great if the "right way" to do project structure with closure tools and java was documented and shown in an example project. This was already brought up...

rules_closure/java/com/google/javascript/jscomp/ places files within the Closure Compiler package allowing it to violate package visibility and use internal APIs. There are no guarantees about internal APIs and makes it difficult for...

We are just starting to use rules_closure for real, and the second test suite that I've migrated shows flaky behavior on our CI system. I was hoping for some advice...

The current API does not make the use of compiler level modules easy (all the flags need to be passed via `defs`). It would be nice to have first class...

enhancement
P3

We do some [cool stuff](https://github.com/bazelbuild/rules_closure/blob/master/closure/compiler/closure_js_binary.bzl#L50) to configure the `--source_map_location_mapping` flag. The only configuring it does at the moment, is getting rid of the weird bazel-specific directory names. However we should...

enhancement
P2

## Current situation `closure_template_{java,js}_library` has been part of `rules_closure` for some time. Since its addition in 2016(?), a lot has changed, both in `rules_closure` and `Bazel`, and I think it's...

Hey there `rules_closure` folks, I was wondering if someone could help me out with compilation and use of protos from Soy (in JS and Java). First things first, I'm aware...

When using `goog.module` and `closure_js_test`, simply adding a `testSuite` is insufficient to avoid dead-code-eliminating the tests. One must add `entry_points= ["goog:$MY_TEST_PACKAGE"]` to the `closure_js_test` invocation. Please either fix the documentation...