interface ILocalBundling
Language | Type name |
---|---|
.NET | Amazon.CDK.ILocalBundling |
Java | software.amazon.awscdk.core.ILocalBundling |
Python | aws_cdk.core.ILocalBundling |
TypeScript (source) | @aws-cdk/core » ILocalBundling |
Local bundling.
Methods
Name | Description |
---|---|
try | This method is called before attempting docker bundling to allow the bundler to be executed locally. |
tryBundle(outputDir, options)
public tryBundle(outputDir: string, options: BundlingOptions): boolean
Parameters
- outputDir
string
— the directory where the bundled asset should be output. - options
Bundling
— bundling options for this asset.Options
Returns
boolean
This method is called before attempting docker bundling to allow the bundler to be executed locally.
If the local bundler exists, and bundling
was performed locally, return true
. Otherwise, return false
.