GH-30 made handling of relative requires way simpler, by relying on
node-resolve, but it also intorduced a regression when ./Something
will fail if Something.js doesn't exist -- even if Something.coffee
does. This commit aims to fix that by telling node-resolve about all the
extensions we know the app code can contain.
GH-30 made handling of relative requires way simpler, by relying on node-resolve, but it also intorduced a regression when
./Something
will fail ifSomething.js
doesn't exist -- even ifSomething.coffee
does. This commit aims to fix that by telling node-resolve about all the extensions we know the app code can contain.