evanw / evanw/node-source-map-support

Issue with tooling that parses code looking for SourceMaps

Open
#136 0 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

In `source-map-support.js` on line [113](https://github.com/evanw/node-source-map-support/blob/70c54a8ab65103f307558a901299b998d1bb45c7/source-map-support.js#L113), there is a comment that explains the regex. When we couple this with a tool that parses code for source maps, like source-map-loader in Webpack, this looks like a source-map URL and the tooling tries to load it.

While this could be considered a bug in the tooling, in this case source-map-loader bug, is it possible to remove this comment?

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.