mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
Default source map compiler to .js just like Node
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user