We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b5b81e + 357f56c commit 9df6becCopy full SHA for 9df6bec
source-map-support.js
@@ -167,6 +167,8 @@ function retrieveSourceMapURL(source) {
167
168
// Get the URL of the source map
169
fileData = retrieveFile(source);
170
+ // Skip sourceMappingURL in coffeescript.js, meant for emitting source maps.
171
+ if (source.endsWith('node_modules/coffeescript/lib/coffeescript/coffeescript.js')) return null
172
var re = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg;
173
// Keep executing the search to find the *last* sourceMappingURL to avoid
174
// picking up sourceMappingURLs from comments, strings, etc.
0 commit comments