Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd rather have each module have its own dependencies as subdirectories, sort of like node_modules. Everyone resolves paths from cwd.

If someone wants to share the same jquery across subdirs, I'm sure http redirects could be configured. Or alternately some sort of corporate versioning convention that developers can expect to have with absolute paths. Certainly better than ../jquery.



Every Angular or React component or every lodash dependent carrying along it's own copy of the modules sounds entirely unworkable.




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

Search: