Skip to content
Kitbay
Submit

setup-browser-sdk-sourcemaps

MITUpdated on Nov 9, 2026185GitHub stars

A Datadog skill that sets up sourcemap upload at build time so errors in RUM and Error Tracking show readable stack traces with git details.

What the skill teaches

A Datadog skill that sets up sourcemap upload at build time so errors in RUM and Error Tracking show readable stack traces with git details. The agent works out which bundler the project uses (esbuild, Rollup, Rspack, Vite or webpack), gathers the service name, version and site values, installs the matching @datadog build plugin, makes the bundler produce sourcemaps, adds the plugin to the configuration and sets credentials in the build environment. It finishes with a check that uploads work, a list of common mistakes and a verification checklist.

Capabilities

  • Detect the project's JavaScript bundler
  • Install and configure the matching Datadog build plugin
  • Make the build emit and upload sourcemaps
  • Set Datadog credentials for the build environment