link-module-alias icon indicating copy to clipboard operation
link-module-alias copied to clipboard

Consider uninstall hook

Open ryanbaer opened this issue 6 years ago • 1 comments

First of all, great project. Was very excited to use it and dug in on cleaning up my import statements. Sadly, couldn't get it to work with create-react-app (tests in particular), so I had to uninstall.

This is just a suggestion to add an uninstall hook (pre- or post-), which clears out the symlinks the package created. It could also perhaps remove the _moduleAliases from the package.json.

As an aside, if you know of a way to make it work with create-react-app, please let me know. Thanks for your hard work!

ryanbaer avatar Feb 07 '19 02:02 ryanbaer

Agreed. Having it clear out the symlinks it created during uninstall would be a good idea.

brian428 avatar Feb 14 '19 14:02 brian428