interface ILocalBundling
Language | Type name |
---|---|
![]() | Amazon.CDK.ILocalBundling |
![]() | software.amazon.awscdk.core.ILocalBundling |
![]() | aws_cdk.core.ILocalBundling |
![]() | @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. |
Bundle(outputDir, options)
trypublic 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
.