JSPM CLI
    Preparing search index...

    Interface GenerateFlags

    Flags for all import map generation commands, internally used by the JSPM Generator when generating the import map.

    Applies to:

    interface GenerateFlags {
        map?: string;
        conditions?: string | string[];
        resolution?: string | string[];
        provider?: string;
        cache?: string;
        quiet?: boolean;
        showVersion?: boolean;
        dir?: string;
        disableWarning?: string | string[];
    }

    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')

    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')