How to deploy a directory along with a function?

Thank you @marcus that definitely did help and I now got it almost working. So I think my issue was that I needed to use a bundled/folder style function, not just a singular JS file. This brings up another issue now. I had a utils directory with common code and configuration for both serverless functions and now this is not accessible since the function cannot see outside its own directory. Do you know what the best way would be to have a common directory without having to have it twice?