Class BundlerOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.javascript.BundlerOptions.Jsii$Proxy
-
- All Implemented Interfaces:
BundlerOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- BundlerOptions
@Stability(Experimental) @Internal public static final class BundlerOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BundlerOptions
An implementation forBundlerOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.javascript.BundlerOptions
BundlerOptions.Builder, BundlerOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(BundlerOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theBundlerOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BooleangetAddToPreCompile()(deprecated) Install thebundlecommand as a pre-compile phase.StringgetAssetsDir()(experimental) Output directory for all bundles.StringgetEsbuildVersion()(experimental) The semantic version requirement foresbuild.Map<String,String>getLoaders()(experimental) Map of file extensions (without dot) and loaders to use for this file type.RunBundleTaskgetRunBundleTask()(experimental) Choose which phase (if any) to add thebundlecommand to.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(BundlerOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theBundlerOptions.Builder.
-
-
Method Detail
-
getAddToPreCompile
public final Boolean getAddToPreCompile()
Description copied from interface:BundlerOptions(deprecated) Install thebundlecommand as a pre-compile phase.Default: true
- Specified by:
getAddToPreCompilein interfaceBundlerOptions
-
getAssetsDir
public final String getAssetsDir()
Description copied from interface:BundlerOptions(experimental) Output directory for all bundles.Default: "assets"
- Specified by:
getAssetsDirin interfaceBundlerOptions
-
getEsbuildVersion
public final String getEsbuildVersion()
Description copied from interface:BundlerOptions(experimental) The semantic version requirement foresbuild.Default: - no specific version (implies latest)
- Specified by:
getEsbuildVersionin interfaceBundlerOptions
-
getLoaders
public final Map<String,String> getLoaders()
Description copied from interface:BundlerOptions(experimental) Map of file extensions (without dot) and loaders to use for this file type.Loaders are appended to the esbuild command by
--loader:.extension=loader- Specified by:
getLoadersin interfaceBundlerOptions
-
getRunBundleTask
public final RunBundleTask getRunBundleTask()
Description copied from interface:BundlerOptions(experimental) Choose which phase (if any) to add thebundlecommand to.Note: If using
addBundle()with thebundleCompiledResults, this option must be set toRunBundleTask.POST_COMPILEorRunBundleTask.MANUAL.Default: RunBundleTask.PRE_COMPILE
- Specified by:
getRunBundleTaskin interfaceBundlerOptions- See Also:
- AddBundleOptions.bundleCompiledResults *
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-