I have folowing directory structure:
--app
-- test
-- server.js
-- app.js
I try to call function in app.js which exports from server.js, i do:
var server = require("test/server");
But get error:
Error: Cannot find module 'test/server'
How can i include it correctly?
Thank you.