Organize functions project structure

Hello everyone, I’m very new to serverless.
I’m trying to convert a java spring boot rest api project to node functions and I’m currently using google as provider.
The thing that I need to understand is that when I deploy one function with serverless, it will get uploaded entire project, also code from other functions.
This, I think, will lead to very long cold start when I will finish to develop all functions I need in my project (they will be around 100 functions) because each function will import the dependencies of the whole project instead of those it needs.
How would you recommend to organize the project structure?

Thank you