I was surprised to find out all files under the users folder was deployed to a specific function. for example: create,get,list,update,delete files was deployed to create lambda function even so it only needs the create.js file. how can I tell serverless to deploy only the relevant files?
I’ve got the following files structure under users (REST API) folder:
with functions defined on yml like so: