evanw / evanw/node-source-map-support

Source with inline sourcemaps

Offen
#33 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2.2k
Forks
223
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

I'm getting a different behavior with the same sourcemap either provided as external file or inline.
The external works well and provides an absolute path, the inline one just gives me the raw declaration.

Shouldn't [this line](https://github.com/evanw/node-source-map-support/blob/636b1b28e42c7cd3aa7fdfd9949ecd5bb9aef701/source-map-support.js#L148) be `sourceMap.url || position.source` ? At least it works consistently on my test.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.