Closed kellyselden closed 5 years ago
I have a case where the entry point of a module was not the file storing the state, it only surfaces it. This caused me to recurse module.children and delete, which solved the problem. Would you like me to add this feature, perhaps behind an option?
module.children
Addressed here https://github.com/sindresorhus/clear-module/pull/9
Apologies I missed that.
I have a case where the entry point of a module was not the file storing the state, it only surfaces it. This caused me to recurse
module.children
and delete, which solved the problem. Would you like me to add this feature, perhaps behind an option?