How can I use this with Azure Functions version 2? v2 supports Node v8 and Node v10 only.
Their file structure is the following (from the documentation):
so there's no single entry point and there's no app - just serveless functions.
I want to use esm to export code from SharedCode/myFirstHelperFunction.js, and import it in MyFirstFunction/index.js. How can I do that?
How can I use this with Azure Functions version 2? v2 supports Node v8 and Node v10 only. Their file structure is the following (from the documentation):
so there's no single entry point and there's no app - just serveless functions. I want to use
esm
toexport
code fromSharedCode/myFirstHelperFunction.js
, andimport
it inMyFirstFunction/index.js
. How can I do that?