Skip to content
v2.274.0

ILocalBundling Interface ​

Local bundling.

Methods ​

tryBundle(outputDir: string, options: BundlingOptions): booleandef try_bundle(self, output_dir: str, options: BundlingOptions) -> boolpublic Boolean tryBundle(String outputDir, BundlingOptions options)public bool TryBundle(string outputDir, BundlingOptions options)func TryBundle(OutputDir *string, Options BundlingOptions) *bool#
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.

2 parameters

Parameters

  • outputDiroutput_diroutputDiroutputDirOutputDir — the directory where the bundled asset should be output.
  • optionsoptionsoptionsoptionsOptions — bundling options for this asset.