Permalink
Browse files

fix(d.ts): exclude unnecessary imports.

  • Loading branch information...
kellyethridge committed Mar 28, 2016
1 parent fc8f504 commit da3d23a88d6c55373f214ecec8a9b013fe69f521
Showing with 0 additions and 3 deletions.
  1. +0 −3 build/tasks/build.js
@@ -27,9 +27,6 @@ gulp.task('build-dts', function() {
return callback();
}))
.pipe(concat(jsName)) // concat all selected files to jsName (now without their imports)
.pipe(insert.transform(function(contents) { // re-add extracted imports on top
return tools.createImportBlock(importsToAdd) + contents;
}))
.pipe(to5(assign({}, compilerOptions.dts()))); // compile to d.ts from file jsName. d.ts file is in folder paths.packageName
});

0 comments on commit da3d23a

Please sign in to comment.