Skip to content

Commit bc248e9

Browse files
committed
fix(build) use relative path in file property inside sourcemap
1 parent 42c0171 commit bc248e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/transpiler/gulp-traceur.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function gulpTraceur(options, resolveModuleName) {
3333
var sourceMap = result.sourceMap;
3434

3535
if (sourceMap) {
36+
sourceMap.file = file.relative;
3637
var sourceMapFile = cloneFile(file, {
3738
path: file.path.replace(/\.\w+$/, '.map'),
3839
contents: JSON.stringify(sourceMap)

0 commit comments

Comments
 (0)