Generate sourceFiles in CoffeeScript source maps correctly

This commit is contained in:
Nathan Sobo
2015-08-20 16:08:25 -06:00
parent c0f3ca6dcd
commit 6f44fc4c7f

View File

@@ -26,6 +26,7 @@ exports.getCachePath = function(sourceCode) {
exports.compile = function(sourceCode, filePath) {
let output = CoffeeScript.compile(sourceCode, {
filename: filePath,
sourceFiles: [filePath],
sourceMap: true
})