Setup Browser SDK Sourcemaps

Configure build-time JavaScript sourcemap upload to Datadog using the Datadog build plugin (@datadog/esbuild-plugin, @datadog/rollup-plugin, @datadog/rspack-plugin, @datadog/vite-plugin, @datadog/webpack-plugin), so RUM and Error Tracking…

About this skill

Configure build-time JavaScript sourcemap upload to Datadog using the Datadog build plugin (@datadog/esbuild-plugin, @datadog/rollup-plugin, @datadog/rspack-plugin, @datadog/vite-plugin, @datadog/webpack-plugin), so RUM and Error Tracking show un-minified stack traces with git metadata attached.

Maintained by Datadog Labs. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01Scope
  • 02Step 1: Detect the bundler
  • 03Step 2: Collect the three required values
  • 04Step 3: Install the plugin
  • 05Step 4: Make the bundler emit sourcemaps
  • 06Step 5: Wire the plugin into the config

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

datadog-labs/agent-skills / setup-browser-sdk-sourcemaps

Source reviewed October 2, 2026 · MIT