An experimental transformer for the es6-module-transpiler that converts ES6 modules into Closure Library-style modules with goog.require and goog.provide statements, preserving bundle order without concatenation. Version 1.0.0 is the only published release. Unlike the bundle transformer, this enables full Closure Compiler type checking (e.g., @private annotations) by keeping modules as separate files. The order is maintained identically to the bundle transformer to avoid inconsistencies. It requires Node.js and the es6-module-transpiler CLI.
npm install es6-module-transpiler-closureNo compatibility data collected yet for this library.
Install the transpiler and this transformer, then use the CLI to convert an ES6 module to separate Closure-style files.
Consider using the bundle transformer or a more modern transpiler like Babel with Closure Compiler integration.
Run 'npm install es6-module-transpiler-closure --save' in your project directory.