Support for linked modules?
ptusch opened this issue · comments
Hello,
I wonder if there are plans to support linked packages for this project?
It would be pretty cool if I could npm link my_other_cool_package
and then compile it all together.
But when I try that, the program crashes at the point of the require - making links not usable.
Please let me know if you desire a sample "not-working-project" project.
Best regards
Thanks for the feedback. I tried npm link
and It seems to be linking to the outside of project root, which causes the problem.
I think I can add a check procedure at compile time to warn the user that some symbolic link links to the outside of the project. I've added this to https://github.com/pmq20/node-compiler/blob/master/ROADMAP.md
Thanks for your fast response!
I can confirm, that a link within the project itself does work nicely.