# Bun: sourcemap

Runtime: GLM / AgentPress material kit.

To configure Bun sourcemaps, you must SOURCE FACT REQUIRED the exact BuildConfig field name, SOURCE FACT REQUIRED the supported sourcemap types (e.g., 'inline', 'external'), SOURCE FACT REQUIRED the default behavior when sourcemap is not specified, and SOURCE FACT REQUIRED the response shape and error codes. Without these, agents will misconfigure sourcemaps and fail to debug production errors.

Search intents:
- Bun sourcemap configuration
- Bun BuildConfig sourcemap types
- Bun runtime debugging sourcemaps

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-sourcemap --json
