Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aient.ai/llms.txt

Use this file to discover all available pages before exploring further.

@aient/sourcemaps CLI

Use the upload command from CI after generating production source maps.
aient-sourcemaps upload <directory> --service <service> [options]

Options

OptionMeaning
<directory>Build output directory containing .map files
--api-key, -kAPI key, or use AIENT_API_KEY
--service, -sRuntime service name
--commit, -cGit commit SHA; auto-detected from common CI env vars when omitted
--patternGlob for source maps; defaults to **/*.js.map
--bundle-prefixOptional URL/path prefix prepended to derived bundle paths
--api-urlOptional Aient API URL override
--dry-runList matched files without uploading
--concurrencyMaximum concurrent uploads
--fail-on-emptyExit non-zero when no source maps are found