I have organised my serverless.yml to be in a different folder to my code. The serverless.yml has the following attributes
package:
include:
- ../src/* # Where my code is located
exclude:
- ./**
When this is packaged and deployed, there is still a src folder with all my code in it. I would rather the code be in the root of the deployment. Is there anyway to fine tune the actual destination folders with include/exclude or are there any other attributes I can use to achieve what I want?
This is just a simple example for the moment, the real life deployment might grow to be more complicated.