@nikovirtala/projen-constructs
    Preparing search index...

    Interface BundlerOptions

    Options for Bundler.

    interface BundlerOptions {
        addToPreCompile?: boolean;
        assetsDir?: string;
        esbuildVersion?: string;
        loaders?: { [key: string]: string };
    }
    Index
    addToPreCompile?: boolean

    Install the bundle command as a pre-compile phase.

    true
    
    assetsDir?: string

    Output directory for all bundles.

    "assets"
    
    esbuildVersion?: string

    The semantic version requirement for esbuild.

    - no specific version (implies latest)
    
    loaders?: { [key: string]: string }

    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

    - no loaders