public final class ES6ModuleLoader extends Object
26.3.3.18.2 of the ES6 spec
,
http://wiki.commonjs.org/wiki/Modules/1.1
Constructor and Description |
---|
ES6ModuleLoader(AbstractCompiler compiler,
String moduleRoot)
Creates an instance of the module loader which can be used to locate
ES6 and CommonJS modules.
|
public ES6ModuleLoader(AbstractCompiler compiler, String moduleRoot)
compiler
- The compilermoduleRoot
- Path to a directory which can be used to locate modulesCopyright © 2009-2015 Google. All Rights Reserved.