@GwtIncompatible(value="java.net.URI") public class Es6RelativizeImportPaths extends java.lang.Object implements CompilerPass
Useful for servers that wish to preserve ES6 modules, meaning their paths need to be valid in the browser.
| Constructor and Description |
|---|
Es6RelativizeImportPaths(AbstractCompiler compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
public Es6RelativizeImportPaths(AbstractCompiler compiler)
public void process(Node externs, Node root)
CompilerPassprocess in interface CompilerPassexterns - Top of external JS treeroot - Top of JS treeCopyright © 2009-2019 Google. All Rights Reserved.