Anonymous View
JSPM CLI
    Preparing search index...

    Interface BuildFlags

    Flags for the build command to compile packages.

    Used by the jspm build command to build and optimize packages using RollupJS.

    interface BuildFlags {
        map?: string;
        conditions?: string | string[];
        resolution?: string | string[];
        provider?: string;
        cache?: string;
        release?: boolean;
        quiet?: boolean;
        showVersion?: boolean;
        dir?: string;
        disableWarning?: string | string[];
        out?: string;
        minify?: boolean;
        install?: boolean;
        hashEntries?: boolean;
    }

    Hierarchy

    Index

    Properties

    map?: string

    File containing initial import map (defaults to importmap.json, supports .js with embedded JSON, or HTML with inline import map)

    conditions?: string | string[]

    Comma-separated environment condition overrides or array of conditions (defaults to ['browser', 'development', 'module'] in normal mode, or ['browser', 'production', 'module'] in production mode)

    resolution?: string | string[]

    Comma-separated dependency resolution overrides or array of resolutions (no default, used to override specific package versions)

    provider?: string

    Default module provider to use (e.g., 'jspm.io', 'unpkg', 'jsdelivr', etc.) (defaults to user's configured defaultProvider or 'jspm.io')

    cache?: string

    Cache mode for fetches (defaults to 'online', accepts 'online', 'offline', 'no-cache')

    release?: boolean

    Enable release mode with production optimizations (defaults to false) When enabled, automatically sets: --flatten-scopes, --combine-subpaths, --conditions=production

    quiet?: boolean

    Suppress non-essential output (defaults to false)

    showVersion?: boolean

    Display version information (defaults to false)

    dir?: string

    Directory to operate in (defaults to current working directory)

    disableWarning?: string | string[]

    Comma-separated list of warnings to disable (e.g., 'file-count')

    out?: string

    Path to the output directory for the build (defaults to 'dist')

    minify?: boolean

    Enable/disable build minification (defaults to true)

    install?: boolean

    Generate import map after build completes (defaults to true)

    hashEntries?: boolean

    Hash entry point filenames in the output