Re:Show HN: Wavy – use a tilde in require and import calls
by BinaryBullet on Friday April 08, 2016 @09:28AM
(#11454470)
I believe 'babel-root-import' works on windows (haven't tested myself). It's a lifesaver if you are already working w/ babel (which I am).
It really saves time when you forget what nesting level you are at, and are trying to get to some other folder. I can easily remember my absolute paths, but always forget the amount of "../../.." I need. It's also nice to be able to copy imports from your "src" folder to your "test" folder, and just have them work (which they do when using absolute paths).
This is an interesting take on that idea (using symlinks instead of transpiling).
It really saves time when you forget what nesting level you are at, and are trying to get to some other folder. I can easily remember my absolute paths, but always forget the amount of "../../.." I need. It's also nice to be able to copy imports from your "src" folder to your "test" folder, and just have them work (which they do when using absolute paths).
This is an interesting take on that idea (using symlinks instead of transpiling).