Why would I use this over babel?
[1]: https://developers.google.com/closure/compiler/docs/api-tuto...
Interestingly, we're finally starting to see these ideas get more mainstream as people adopt es6 modules and publish bundled code with explicit externs in tools like Webpack 2 and Rollup.
Babel can be used in the same toolchain as Closure Compiler, they're not mutually exclusive or redundant as they perform different tasks.
use it with babel by using splittable.js