Interface BundlerOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BundlerOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-01-10T23:18:45.496Z") @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 Modifier and Type Method Description static BundlerOptions.Builderbuilder()default BooleangetAddToPreCompile()(experimental) Install thebundlecommand as a pre-compile phase.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.
-
-
-
Method Detail
-
getAddToPreCompile
@Stability(Experimental) @Nullable default Boolean getAddToPreCompile()
(experimental) 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
-
builder
@Stability(Experimental) static BundlerOptions.Builder builder()
- Returns:
- a
BundlerOptions.BuilderofBundlerOptions
-
-