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

This is similar to #227 and is most likely be a bug in closure compiler (@MatrixFrog), but I'm reporting it here since I wasn't able to find any repo case...

The status badges in README.md that point to ci.bazel.io are currently pointing to dead links. Can we update those? Here's the page for that build: https://ci.bazel.io/job/rules_closure/

Currently this is hard-coded to BROWSER: https://github.com/bazelbuild/rules_closure/blob/4c559574447f90751f05155faba4f3344668f666/java/com/google/javascript/jscomp/JsCompilerRunner.java#L64 That causes an error with ES2015 import syntax: ``` ERROR: /usr/local/google/home/alexeagle/Projects/rules_typescript/examples/es6_output/BUILD.bazel:38:1: Compiling 3 JavaScript files to examples/es6_output/closure.js failed: Worker process sent response with...

closure_js_deps uses depswriter.py, which has no support for es6 modules. I was looking at adding es6 support to depswriter then I saw that closure compiler already has a DepsGenerator class...

In the docs you have: > When you call closure_repositories() in your WORKSPACE file, it causes a few dozen external dependencies to be added to your project, e.g. Guava, Guice,...

A user reports: ``` * @returns Returns the selected item(s). If the multi property is true, ``` Couldn't be suppressed by `JSC_JSDOC_MISSING_TYPE_WARNING` and had to be suppressed by `jsdocMissingType`. This...

closure_js_test is checking that the files in `srcs` end with `_test.js`: https://github.com/bazelbuild/rules_closure/blob/master/closure/testing/closure_js_test.bzl#L40 Nowadays angular is recommending a naming structure where test files end with `.spec.js`: https://angular.io/docs/ts/latest/guide/style-guide.html#!#02-10 Besides forcing a naming...

It would be neat to generate, say, a $RULE_debug rule for every closure_js_test that would boot a server that allowed one to run a test from any browser. Such a...

There are two issues here, I guess. One is that the harness does not read the file in binary mode. A fix merely passes 'b' to fs.read when we are...

bug

When I invoke closure_js_test like so: ```python closure_js_test( name = "sometest", entry_points = ..., srcs = ..., deps = ..., language = "ECMASCRIPT6_STRICT", defs = [ "--jscomp_error=*", "--jscomp_off=analyzerChecks", "--dependency_mode=LOOSE" ],...