In response to the absence of the function.json file in programming model 4, we will now use the handler.ts file as the initial point for the Azure Function. This file will take on the responsibility of registering the function in Azure, following the modifications outlined in the package.json file, with particular attention to the main property. It's worth noting that during the packaging and deployment process, the file extension will be changed to handler.mjs
In response to the absence of the
function.json
file in programming model 4, we will now use thehandler.ts
file as the initial point for the Azure Function. This file will take on the responsibility of registering the function in Azure, following the modifications outlined in thepackage.json
file, with particular attention to themain
property. It's worth noting that during the packaging and deployment process, the file extension will be changed tohandler.mjs
Ref: https://learn.microsoft.com/en-us/azure/azure-functions/functions-node-upgrade-v4?tabs=v4