evanw / evanw/node-source-map-support

Issue with tooling that parses code looking for SourceMaps

Aperta
#136 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
2.2k
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.