Serverless Azure (node-fetch is being excluded from deployment zip)


I’m trying to use serverless framework to deploy my functions to Azure.
The problem I have faced is that deployed package doesn’t contain all the dependencies. In particular node-fetch library is being excluded. It is used by apollo-server-azure-functions, so I’m not able to run the function anymore.
What is the way framework selects packages to be removed? I checked all packages on the path to node-fetch and they specify it as a dependency