HN2new | past | comments | ask | show | jobs | submitlogin

First: none of the exact rules are written yet. But current discussions seem to suggest "Yes, this will go away" for "./services" being resolved to anything but an absolute location ending in "/services". But importing so-called bare specifiers ("lodash") will almost definitely be supported.


> current discussions seem to suggest "Yes, this will go away" for "./services" being resolved to anything but an absolute location ending in "/services"

to be clear, this is still heavily in contention. node made a good choice to support requiring something without knowing exactly what type of thing it is, and a lot of people feel we shouldn't throw that away.


Can you give an actual use case for this? Because it seems insane. How can you use something without knowing what it is?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: