Hey guys
I’m evaluating the hobby plan and I’ve got a question about the automatic serverless node function support.
It seems anything I put in the top level /api directory will be treated as an individual serverless function. However, I’ve noticed that anything I put in there (for example a helper JS class or utility method) will be treated as a serverless function?
I’ve gotten the limit warning on my auto deployment for my project (12 serverless functions maximum). I’ve even noticed that even if I have a JS file file that’s entirely commented out, it still counts towards my limit.
Is this the expected behaviour? Is there a way I can include these JS files and not have them contribute to the limit? I’ve tried adding them to an _ folder like _utilities and even naming them _helper.js but nothing seems to work.
Any help on this would be great
Cheers