mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Generate sourceFiles in CoffeeScript source maps correctly
This commit is contained in:
@@ -26,6 +26,7 @@ exports.getCachePath = function(sourceCode) {
|
||||
exports.compile = function(sourceCode, filePath) {
|
||||
let output = CoffeeScript.compile(sourceCode, {
|
||||
filename: filePath,
|
||||
sourceFiles: [filePath],
|
||||
sourceMap: true
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user