OptionalmapFile containing initial import map (defaults to importmap.json, supports .js with embedded JSON, or HTML with inline import map)
OptionalconditionsComma-separated environment condition overrides or array of conditions (defaults to ['browser', 'development', 'module'] in normal mode, or ['browser', 'production', 'module'] in production mode)
OptionalresolutionComma-separated dependency resolution overrides or array of resolutions (no default, used to override specific package versions)
OptionalproviderOptionalcacheCache mode for fetches (defaults to 'online', accepts 'online', 'offline', 'no-cache')
OptionalreleaseEnable release mode with production optimizations (defaults to false) When enabled, automatically sets: --flatten-scopes, --combine-subpaths, --conditions=production
OptionalrootURL to treat as server root for rebasing import maps (defaults to current directory)
OptionalinstallInstall mode for resolving dependencies (defaults to 'default')
OptionalcompactOutput a compact import map (defaults to false, true for production)
OptionalstdoutOutput the import map to stdout (defaults to false)
OptionaloutFile to inject the final import map into (defaults to value of --map or importmap.js)
OptionalflattenFlatten import map scopes into smaller single top-level scope per origin (defaults to false, true for production)
OptionalcombineCombine import map subpaths under folder maps (defaults to false, true for production)
OptionalpreloadAdd module preloads to HTML output (defaults to undefined, accepts 'static', 'dynamic')
OptionalintegrityAdd module integrity attributes to the import map (defaults to false)
OptionalquietSuppress non-essential output (defaults to false)
OptionalshowDisplay version information (defaults to false)
OptionaldirDirectory to operate in (defaults to current working directory)
OptionaldisableComma-separated list of warnings to disable (e.g., 'file-count')
OptionalportPort to run the server on (defaults to 5776)
OptionaltypeEnable/disable TypeScript type stripping (defaults to true)
OptionalstaticDisable file watching, auto installs and hot reloading (defaults to false)
OptionalinstallEnable/disable automatic import map installs in watch mode (defaults to true)
Flags for the serve command to start a development server.
Used by the jspm serve command to run a local development server with live reloading and TypeScript support.