switch to commonjs module as default

This commit is contained in:
Philipp Kunz 2016-02-17 04:26:26 +01:00
parent 2d82a3a037
commit 29f3832d63
2 changed files with 4 additions and 2 deletions

View File

@ -172,7 +172,8 @@ var NpmtsCompile;
.pipe(plugins.g.typescript({
out: outputName,
declaration: true,
target: "ES5"
target: "ES5",
module: "commonjs"
}));
var stream = plugins.mergeStream([
tsStream.dts.pipe(plugins.gulp.dest(outputDir)),

View File

@ -72,7 +72,8 @@ module NpmtsCompile {
.pipe(plugins.g.typescript({
out: outputName,
declaration: true,
target: "ES5"
target: "ES5",
module: "commonjs"
}));
var stream = plugins.mergeStream([
tsStream.dts.pipe(plugins.gulp.dest(outputDir)),