I have all my serverless related files, like serverless.yml, package.json, node_modules, config files, in a folder. I then have a subdirectory called
src with my actual code.
When just deploying this, I have to replace all references with
src in my code which also causes some things to break. I would like to make it so either the function uses
/src as the working directory or automatically move the files out of
src when deploying, otherwise you have to package, extract then deploy manually which causes some other problems.
Is there a plugin for something like this or a config option that allows you to do this?