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 for Bundler.
    • Method Detail

      • getAddToPreCompile

        @Stability(Experimental)
        @Nullable
        default Boolean getAddToPreCompile()
        (experimental) Install the bundle command 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 for esbuild.

        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