closure-compiler
https://github.com/google/closure-compiler
Java
A JavaScript checker and optimizer.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported27 Subscribers
Add a CodeTriage badge to closure-compiler
Help out
- Issues
- TransformAMDToCJSModule false positive for the `exports` object.
- define replacement happens during the check phase
- Ternary can be simplified: `x > 0 ? true : false` --> `x > 0`
- java.lang.IllegalStateException: Unexpected variable bar
- No type checking when assigning to quoted property
- Automatic (fake) constants replacement
- common_js_entry_module doesn't respect common_js_path_prefix
- Undefined OR operation not simplified
- Compiler ignores object type if any attribute has dynamic name
- Allow InlineObjectLiterals (or equivalent) to run in global scope after function inlining.
- Docs
- Java not yet supported