Interface BundlerOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BundlerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.161Z") @Stability(Experimental) public interface BundlerOptions extends software.amazon.jsii.JsiiSerializable
(experimental) Options forBundler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBundlerOptions.BuilderA builder forBundlerOptionsstatic classBundlerOptions.Jsii$ProxyAn implementation forBundlerOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static BundlerOptions.Builderbuilder()default BooleangetAddToPreCompile()Deprecated.UserunBundleTaskinstead.default StringgetAssetsDir()(experimental) Output directory for all bundles.default StringgetEsbuildVersion()(experimental) The semantic version requirement foresbuild.default Map<String,String>getLoaders()(experimental) Map of file extensions (without dot) and loaders to use for this file type.default RunBundleTaskgetRunBundleTask()(experimental) Choose which phase (if any) to add thebundlecommand to.
-
-
-
Method Detail
-
getAddToPreCompile
@Stability(Deprecated) @Deprecated @Nullable default Boolean getAddToPreCompile()
Deprecated.UserunBundleTaskinstead.(deprecated) Install thebundlecommand as a pre-compile phase.Default: true
-
getAssetsDir
@Stability(Experimental) @Nullable default String getAssetsDir()
(experimental) Output directory for all bundles.Default: "assets"
-
getEsbuildVersion
@Stability(Experimental) @Nullable default String getEsbuildVersion()
(experimental) The semantic version requirement foresbuild.Default: - no specific version (implies latest)
-
getLoaders
@Stability(Experimental) @Nullable default Map<String,String> getLoaders()
(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
-
getRunBundleTask
@Stability(Experimental) @Nullable default RunBundleTask getRunBundleTask()
(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
- See Also:
- AddBundleOptions.bundleCompiledResults *
-
builder
@Stability(Experimental) static BundlerOptions.Builder builder()
- Returns:
- a
BundlerOptions.BuilderofBundlerOptions
-
-