privatenumber / pkgroll

📦 Zero-config package bundler for Node.js + TypeScript
MIT License
1.01k stars 23 forks source link

Include rm -rf to dist folder #11

Closed ayuhito closed 1 month ago

ayuhito commented 2 years ago

The dist folder end up becoming very polluted at times, especially when you delete a source file which still leaves its bundled-up counterpart in the dist folder. Either cleaning up the dist folder by default or including a --clean flag would be a nice QOL addition.

(Btw, I am happy to make some PRs in the near future for some of these issues I'm making - imo this bundler is the most ideal one out of others I've seen and I'm working on integrating it into the Fontsource project).

privatenumber commented 2 years ago

--clean-dist flag sounds good to me!

ayuhito commented 2 years ago

I was working on this but privatenumber/eslint-config#33 is a blocker. Will wait till that's resolved!

privatenumber commented 2 years ago

Feel free to commit with linting violations via --no-verify.

muratgozel commented 1 month ago

hey hey, i need this too, will you send a pr @ayuhito ? i can figure if you arent able to. and if you still okay with this @privatenumber

ayuhito commented 1 month ago

hey hey, i need this too, will you send a pr @ayuhito ?

Unfortunately, I don't have the bandwidth to work on this myself (I haven't touched TypeScript in a while). 👍

privatenumber commented 1 month ago

:tada: This issue has been resolved in version 2.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: