diff --git a/tools/transpiler/gulp-traceur.js b/tools/transpiler/gulp-traceur.js index e86def0a34..42941fc30e 100644 --- a/tools/transpiler/gulp-traceur.js +++ b/tools/transpiler/gulp-traceur.js @@ -33,6 +33,7 @@ function gulpTraceur(options, resolveModuleName) { var sourceMap = result.sourceMap; if (sourceMap) { + sourceMap.file = file.relative; var sourceMapFile = cloneFile(file, { path: file.path.replace(/\.\w+$/, '.map'), contents: JSON.stringify(sourceMap)