Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bakareika
· 12y ago · 0 comments
As an author of a (small) number of npm+bower packages I must admit that nope, that's not "standard" in any meaningful way.
Comments
[–]
TheHydroImpulse
12y ago
It's definitely standard in Node land and also Component(1). Bower, on the other hand, does not and thus is the culprit.
[–]
skeoh
12y ago
index.js is only 'standard' in node insofar as it is the fallback entry point if a package.json file is not found or does not specify a 'main' file.