mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
Default source map compiler to .js just like Node
This commit is contained in:
parent
1a3ca35df3
commit
0846a2cdcc
@ -132,6 +132,7 @@ require('source-map-support').install({
|
|||||||
}
|
}
|
||||||
|
|
||||||
var compiler = COMPILERS[path.extname(filePath)]
|
var compiler = COMPILERS[path.extname(filePath)]
|
||||||
|
if (!compiler) compiler = COMPILERS['.js']
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var fileData = readCachedJavascript(compiler.getCachePath(sourceCode, filePath))
|
var fileData = readCachedJavascript(compiler.getCachePath(sourceCode, filePath))
|
||||||
|
Loading…
Reference in New Issue
Block a user