|
@@ -336,6 +336,7 @@ var buildExternalLibrary = function (library, settings, watch) {
|
|
if (library.buildAsModule) {
|
|
if (library.buildAsModule) {
|
|
var dts2 = tsProcess.dts
|
|
var dts2 = tsProcess.dts
|
|
.pipe(concat(library.output))
|
|
.pipe(concat(library.output))
|
|
|
|
+ .pipe(replace(referenceSearchRegex, ""))
|
|
.pipe(addDtsExport(library.moduleDeclaration, library.moduleName, true, library.extendsRoot))
|
|
.pipe(addDtsExport(library.moduleDeclaration, library.moduleName, true, library.extendsRoot))
|
|
.pipe(rename({ extname: ".module.d.ts" }))
|
|
.pipe(rename({ extname: ".module.d.ts" }))
|
|
.pipe(gulp.dest(outputDirectory));
|
|
.pipe(gulp.dest(outputDirectory));
|