evanw / evanw/node-source-map-support

Source with inline sourcemaps

Open
#33 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.