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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to closure-compiler
Help out
- Issues
- NullPointerException if --process_common_js_modules is paired with exports variable messing
- Can't optimize auto-called function
- Transpiled ES6 classes cannot extend non-transpiled ES6 classes
- Parse error with variable named 'static'
- dead code affects side-effect analysis
- Transpile /u and /y regex flags, or else explicitly warn if untranspilable
- Preserve the export statements of specific modules
- Use last type signature for redefined methods in externs
- Better typechecking for enums in switch/case statements.
- Conditional operator: when the condition and first expression are the same, OR could be used instead
- Docs
- Java not yet supported