fix sourcemaps

This commit is contained in:
2016-02-18 22:43:40 +01:00
parent 56841d5bb0
commit 07aae64965
4 changed files with 1 additions and 6 deletions

View File

@ -79,7 +79,7 @@ module NpmtsCompile {
//tsStream.dts.pipe(plugins.gulp.dest(outputDir)),
tsStream.js
.pipe(plugins.g.sourcemaps.write()) // Now the sourcemaps are added to the .js file
.pipe(plugins.g.header('#!/usr/bin/env node\n\n'))
//.pipe(plugins.g.header('#!/usr/bin/env node\n\n'))
.pipe(plugins.gulp.dest(outputDir))
]);
moduleStream.add(stream);