Closed GoogleCodeExporter closed 9 years ago
when no file ./module.bla -- require('./module.bla') execute ./module.bla.js
Original comment by mr.ve...@gmail.com
on 15 Nov 2009 at 11:34
Let me reformulate this issue: when resolving module name, the ".js" suffix
should
have higher priority than no suffic.
So, require("./something") should try (in this order):
1) ./something.js
2) ./something.so (.dll on windows)
3) ./something
correct?
Original comment by ondrej.zara
on 16 Nov 2009 at 6:53
Fixed in r669.
Original comment by ondrej.zara
on 16 Nov 2009 at 7:45
Original issue reported on code.google.com by
mr.ve...@gmail.com
on 15 Nov 2009 at 11:32