From bc248e9a15f6abf330f32aa4a1a4a24675a953cf Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Tue, 7 Apr 2015 12:53:06 -0700 Subject: [PATCH] fix(build) use relative path in file property inside sourcemap --- tools/transpiler/gulp-traceur.js | 1 + 1 file changed, 1 insertion(+) 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)