switch to commonjs module as default
This commit is contained in:
parent
2d82a3a037
commit
29f3832d63
3
index.js
3
index.js
@ -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)),
|
||||
|
@ -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)),
|
||||
|
Loading…
Reference in New Issue
Block a user