Node peoples... is there any way to specify a root directory for my npm package so that I don't need require("mypackage/lib/foo")?
-
-
@wycats I see what you did there, but won't fall for it. You can't answer my question with a question. Answer, or don't answer. Don't troll. -
@indexzero I wasn't trolling. After the heated discussion last night I was shocked to find that node_modules did exactly what I needed -
@wycats And you avoid the question again. Bravo. Can't make one non-npm dir special or everything else breaks like require('pkg/test/file');
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.