Skip to content

Commit 2811677

Browse files
committed
Source maps root set to "/src"
1 parent 33f9d4a commit 2811677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ gulp.task("compile", ["tslint"], () => {
3131
.pipe(sourcemaps.init())
3232
.pipe(tsc(tsProject));
3333
return tsResult.js
34-
.pipe(sourcemaps.write("."))
34+
.pipe(sourcemaps.write(".", {sourceRoot: '/src'}))
3535
.pipe(gulp.dest("build"));
3636
});
3737

0 commit comments

Comments
 (0)