-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
There does not seem to be a way to generate a sourcemap with the correct relative paths, but with an output directory that is absolute (as files then become labeled as absolute).
e.g.
I am in /foo/static/CACHE and I run:
uglifyjs sentry/scripts/sentry.core.js sentry/scripts/sentry.charts.js sentry/scripts/sentry.stream.js --source-map-url=legacy.min.map.js --source-map=/foo/static/sentry/scripts/legacy.min.map.js -o /foo/static/sentry/scripts/legacy.min.js
The generated sourcemap, no matter what I try, ends up with:
"file":"/foo/static/sentry/scripts/legacy.min.js"
When what I'm looking for is:
"file":"sentry/scripts/legacy.min.js"
(Or something at least related to source-map-root that's sensible)
Reactions are currently unavailable