I am trying to exclude dev dependencies from Lambda Code, but unable to do so. I want to exclude in order to make my deployment faster.
Are you using Node? The framework should be excluding development dependencies automatically. If it’s not then what version of Serverless are you using?
Solved. Using npm prune, I could resolve it.