fix sourcemaps
This commit is contained in:
parent
56841d5bb0
commit
07aae64965
1
index.js
1
index.js
@ -179,7 +179,6 @@ var 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.gulp.dest(outputDir))
|
||||
]);
|
||||
moduleStream.add(stream);
|
||||
|
2
test/assets/dist/index.js
vendored
2
test/assets/dist/index.js
vendored
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/// <reference path="./typings/main.d.ts" />
|
||||
var testplugin = {
|
||||
logSomething: function () {
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/// <reference path="../ts/typings/main.d.ts" />
|
||||
console.log("**** starting test ****");
|
||||
var testplugin = require("../dist/index.js");
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user