Default source map compiler to .js just like Node

This commit is contained in:
Michelle Tilley 2016-11-01 12:21:02 -07:00
parent 1a3ca35df3
commit 0846a2cdcc
No known key found for this signature in database
GPG Key ID: CD86C13E51F378DA

View File

@ -132,6 +132,7 @@ require('source-map-support').install({
}
var compiler = COMPILERS[path.extname(filePath)]
if (!compiler) compiler = COMPILERS['.js']
try {
var fileData = readCachedJavascript(compiler.getCachePath(sourceCode, filePath))