Rich-Harris/degit

Publishing copies of the same file in `dist`

styfle opened this issue · 0 comments

I think a cleanup option is missing to delete the dist directory before publishing.

I see copies of the same file with different names in dist.

For example, compare these two files:

https://cdn.jsdelivr.net/npm/degit@2.8.0/dist/index-26d8486e.js

https://cdn.jsdelivr.net/npm/degit@2.8.0/dist/index-386dbe4f.js

Take a peek at the size of each version:

https://packagephobia.com/result?p=degit

cc @Rich-Harris