minify
minify copied to clipboard
feature(overwriteSource): add flag to overwrite source files
Addresses #61
I will write unit tests for this PR once the approach I have used is approved. Let me know if you have any thoughts @coderaiser or if you are happy enough for me to write some tests
Coverage remained the same at 100.0% when pulling 91f5c2be4385033d5b59ec4ebe554638e206654b on code-forger:feature/overwrite-source into dd4655fb18585c55bf3c9f8502ffa437cac20c90 on coderaiser:master.
Would be amazing if you use yargs-parser for this purpose and move all logic to lib/cli.js and add tests with one assertion per test in file lib/cli.spec.js, and it can be ESM, would be awesome if it will :)
Would be amazing if you use yargs-parser for this purpose and move all logic to
lib/cli.jsand add tests with one assertion per test in filelib/cli.spec.js, and it can beESM, would be awesome if it will :)
Done!
Any progress on this?
Closed due to a long time of inactivity 🏝