Created
November 16, 2018 10:51
-
-
Save jhnns/ebd4ce6a003c89e129e6f5195df6dade to your computer and use it in GitHub Desktop.
How to debug a Node.js server written in TypeScript running in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return tsResult.js | |
.pipe( | |
sourcemaps.mapSources(function(sourcePath, file) { | |
return "../../" + sourcePath; // rewrite sourcePath to point to the correct TypeScript file paths | |
}) | |
) | |
.pipe(sourcemaps.write("./")) | |
.pipe(gulp.dest("./dist/src")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment