Skip to content

Commit

Permalink
ignore scripts/typings path by deafult
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed May 3, 2016
1 parent 87c09aa commit b9bd6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export default function generate(options: Options): Promise<void> {
filenames.forEach(name => { verboseMessage(' ' + name); });
const excludesMap: { [filename: string]: boolean; } = {};

options.exclude = options.exclude || [ 'node_modules/**/*.d.ts' ];
options.exclude = options.exclude || [ 'node_modules/**/*.d.ts', 'typings/**/*.d.ts' ];

options.exclude && options.exclude.forEach(function (filename) {
glob.sync(filename).forEach(function(globFileName) {
Expand Down

0 comments on commit b9bd6ed

Please sign in to comment.