public static enum CompilerOptions.Es6ModuleTranspilation extends java.lang.Enum<CompilerOptions.Es6ModuleTranspilation>
Enum Constant and Description |
---|
COMPILE
Compile ES6 modules.
|
NONE
Do not touch any Es6 module feature.
|
RELATIVIZE_IMPORT_PATHS
Rewrite import paths to resolved, relative paths only.
|
TO_COMMON_JS_LIKE_MODULES
Rewrite to common js like modules for bundling.
|
Modifier and Type | Method and Description |
---|---|
static CompilerOptions.Es6ModuleTranspilation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilerOptions.Es6ModuleTranspilation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerOptions.Es6ModuleTranspilation NONE
public static final CompilerOptions.Es6ModuleTranspilation RELATIVIZE_IMPORT_PATHS
public static final CompilerOptions.Es6ModuleTranspilation TO_COMMON_JS_LIKE_MODULES
public static final CompilerOptions.Es6ModuleTranspilation COMPILE
public static CompilerOptions.Es6ModuleTranspilation[] values()
for (CompilerOptions.Es6ModuleTranspilation c : CompilerOptions.Es6ModuleTranspilation.values()) System.out.println(c);
public static CompilerOptions.Es6ModuleTranspilation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009-2020 Google. All Rights Reserved.