unjs / mkdist

Lightweight file-to-file transpiler.
MIT License
367 stars 25 forks source link

fix(cli): fixed cleanDist with addition of --no-clean option #217

Open metaory opened 6 months ago

metaory commented 6 months ago

πŸ”— Linked issue

216 The option cleanDist was never added to args of citty

❓ Type of change

πŸ“š Description

:x: every build is cleaning the dist/

I'm aware the cleanDist option was added on: f613c17 support cleanDist option was added by @pi0 long time ago

:warning: but no cli arg was ever added

This PR Resolves #216 It add a new optional cli arg --no-clean when provided the make function wont clean the dist path Default behavior continues as before, with clean being true

πŸ“ Checklist