Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: Modify prune to only remove *.d.ts files, not all .ts files (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahnuh authored and jdx committed Jun 18, 2018
1 parent 482d3a2 commit a831bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tarballs/build.ts
Expand Up @@ -66,7 +66,7 @@ export async function build(c: IConfig, options: {
const toRemove = await qq.globby([
'node_modules/**/README*',
'**/CHANGELOG*',
'**/*.ts',
'**/*.d.ts',
], {nocase: true})
await qq.rm(...toRemove)
await qq.rmIfEmpty('.')
Expand Down

0 comments on commit a831bdc

Please sign in to comment.