Closed code-forger closed 3 years ago
That’s amazing! Could you please move out this to a file in lib
directory and use try-catch and find-up and add tests similar to @putout/cli-match
That’s amazing! Could you please move out this to a file in
lib
directory and use try-catch and find-up and add tests similar to @putout/cli-match
Since I am catching and re-throwing the error to add more information, I couldn't find a clean way of adding try-catch here, so I didn't.
Ive added find-up, and Ive added some unit tests as requested.
Thanks a lot 🎈 !
Landed in v7.1.0 🎉 Maybe you want to add some documentation to this feature :)?
🥳
Maybe you want to add some documentation to this feature :)?
I'll make that next on my list
This closes #69 by allowing the user to provide a file in the current working directory under
.minify.json
If the file exists, but cannot be parsed, minify will exist with an error such as the one below (full file path redacted)