Hi,
I've been using require-self for a few years, but still found it a hack, that should be solved directly in npm.
Happy to say I think I've found a way to replace this:
for a module called myModule simply put "myModule": "file:.", in your dev dependencies.
This creates a symlink to the parent folder, the same as what require self is doing.
I think that's a good solution for the problem require-self is solving.
Hi,
I've been using require-self for a few years, but still found it a hack, that should be solved directly in npm.
Happy to say I think I've found a way to replace this:
for a module called myModule simply put
"myModule": "file:.",in your dev dependencies.This creates a symlink to the parent folder, the same as what require self is doing.
I think that's a good solution for the problem require-self is solving.