Open rasekar2000 opened 5 years ago
Hello Team, https://github.com/modofunjs/modofun/blob/master/examples/todo-aws-lambda/index.js
Can I have more than one module const myModule = require('./myModule');
and export them together to be registered in the serverless framework.
for e.g
const myModule = require('./myModule'); const yourModule = require('./yourModule');
exports.handler = modofun(myModule, yourModule, [ morgan('tiny') ])
If such feature is not available now, is this requirement can be considered for future enhancement.
Thanks and Regards, Raj
Will have to check this SOF Linkexport concept with Google Cloud Function. Seems Firebase Function will work. https://stackoverflow.com/a/46572787/4987993
export
Hello Team, https://github.com/modofunjs/modofun/blob/master/examples/todo-aws-lambda/index.js
Can I have more than one module const myModule = require('./myModule');
and export them together to be registered in the serverless framework.
for e.g
const myModule = require('./myModule'); const yourModule = require('./yourModule');
exports.handler = modofun(myModule, yourModule, [ morgan('tiny') ])
If such feature is not available now, is this requirement can be considered for future enhancement.
Thanks and Regards, Raj