@Generated(value="jsii-pacmak/1.31.0 (build 6fa403d)", date="2021-08-11T10:32:44.529Z") @Stability(value=Experimental) public enum SourceMapMode extends Enum<SourceMapMode>
https://esbuild.github.io/api/#sourcemap| Enum Constant and Description |
|---|
BOTH
(experimental) Both sourceMap mode - If you want to have the effect of both inline and external simultaneously.
|
DEFAULT
(experimental) Default sourceMap mode - will generate a .js.map file alongside any generated .js file and add a special //# sourceMappingURL= comment to the bottom of the .js file pointing to the .js.map file.
|
EXTERNAL
(experimental) External sourceMap mode - If you want to omit the special //# sourceMappingURL= comment from the generated .js file but you still want to generate the .js.map files.
|
INLINE
(experimental) Inline sourceMap mode - If you want to insert the entire source map into the .js file instead of generating a separate .js.map file.
|
| Modifier and Type | Method and Description |
|---|---|
static SourceMapMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceMapMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final SourceMapMode DEFAULT
@Stability(value=Experimental) public static final SourceMapMode EXTERNAL
@Stability(value=Experimental) public static final SourceMapMode INLINE
@Stability(value=Experimental) public static final SourceMapMode BOTH
public static SourceMapMode[] values()
for (SourceMapMode c : SourceMapMode.values()) System.out.println(c);
public static SourceMapMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.