Package com.google.javascript.jscomp
Class WhitespaceWrapGoogModules
java.lang.Object
com.google.javascript.jscomp.WhitespaceWrapGoogModules
- All Implemented Interfaces:
CompilerPass
Replicates the effect of ClosureBundler in whitespace-only mode and wraps goog.modules
in goog.loadModule calls. See comment block below.
-
Method Summary
-
Method Details
-
process
Description copied from interface:CompilerPassProcess the JS with root node root. Can modify the contents of each Node tree- Specified by:
processin interfaceCompilerPass- Parameters:
externs- Top of external JS treeroot- Top of JS tree
-