rollup-sourcemap-path-transform

JSON →
library 1.2.0 ·javascript
verified Jun 4, 2026

A Rollup utility that provides a sourcemapPathTransform function to rebase source map file paths, allowing grouping of sources under a common prefix in browser debuggers. Current stable version is 1.2.0, with a release cadence of about once a year. Supports Rollup 2, 3, and 4. Differentiators: supports multiple prefix replacements with optional wildcard matching and strict mode that throws on unmapped paths.