mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
d75b63bc3c
This way, require("/foo") will work if there is a "foo.js", or a file named simply "foo" with no extension.
3 lines
20 B
Plaintext
3 lines
20 B
Plaintext
|
|
exports.foo = "ok"
|