1.0.0 • Published 9 years ago

es6-module-transpiler-closure v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

ES6 Module Transpiler Closure Transformer

An experimental "es6-module-transpiler" transformer that performs the same transformations as the bundle transformer, execpt that it does not concatenate the transformed modules into a single file. This enables full closure compiler type checking (some of which requires modules to be in separate files, e.g. @private)

The order of the modules is kept identical to the bundle transformer order by adding goog.require and goog.provide statements to the transformed modules. This avoids any module ordering inconsistencies with the bundle transformer.

Usage

npm install es6-module-transpiler-closure --save

compile-modules convert -f es6-module-transpiler-closure main.js -o dstDirectory