-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Home
Erik Neumann edited this page Sep 13, 2016
·
33 revisions
The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
- Type Based Property Renaming
- JS Conformance
- Managing Dependencies
- Using NTI (new type inference)
- Warnings
- Annotating JavaScript for the Closure Compiler
- Annotating Types
- Externs for Common Libraries
- [Special Types In the Closure Type System] (https://github.com/google/closure-compiler/wiki/Special-types-in-the-Closure-Type-System)