Zum Inhalt springen
Kitbay
Einreichen

setup-browser-sdk-sourcemaps

MITAktualisiert am 9. Nov. 2026185GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

  • 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