Closed jehy closed 6 years ago
Oops, I had to rollback empty-dir to 0.2.1 because with new version somehow all node_modules were deleted...
Thanks for submitting this! After going through your changes, I have one concern:
I'm not a fan of bundling a module with webpack since it makes it more difficult to maintain and debug going forward, especially in a production environment. It also makes security audits more difficult and raises code complexity. I appreciate the idea, but I believe it's time for me to rethink some of the aspects of modclean for version 3.0, including the number of dependencies it has. With that, I will also remove update-notifier
and write my own or remove it altogether.
I will utilize some of your ideas here for the next version and once I have something to show, I'd like to have you jump in also and give feedback or submit pull requests for anything else that should change.
Thanks again for this!
Yup, building with webpack may seem frightening at first, but...
But those are pretty hard questions, I agree. I would be glad to jump in for the next version :)
I made many changes to use modclean in production environment, those are separated to commits and I hope you will include some.
Now module installs only 7 dependencies and weights less then 950KB.