# ILocalBundling

Interface · Stable

Local bundling.

- Source: [`core/lib/bundling.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/core/lib/bundling.ts#L189)

## Methods

- `tryBundle(outputDir: string, options: BundlingOptions): 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`.

  **Parameters**

  - `outputDir` — the directory where the bundled asset should be output.
  - `options` — bundling options for this asset.
