Skip to content

Commit

Permalink
[build] Clean tsbuildinfo from distribution (elastic#92115) (elastic#…
Browse files Browse the repository at this point in the history
…92518)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
  • Loading branch information
kibanamachine and Tyler Smalley committed Feb 23, 2021
1 parent d2c7abb commit e4c3fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/build/tasks/clean_tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const CleanTypescript: Task = {
'Deleted %d files',
await scanDelete({
directory: build.resolvePath(),
regularExpressions: [/\.(ts|tsx|d\.ts)$/, /tsconfig.*\.json$/],
regularExpressions: [/\.(ts|tsx|d\.ts)$/, /tsconfig.*\.(json|tsbuildinfo)$/],
})
);
},
Expand Down

0 comments on commit e4c3fbe

Please sign in to comment.