evanw / evanw/node-source-map-support

Issue with tooling that parses code looking for SourceMaps

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

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?

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.