Serverless CLI deploy

I am curious about the serverless.yml and how the serverless cli knows where to find the routes. In other words I am asking if I had a structure like routes/notes/create.js would changing the handler from
handler: create.main
handler: routes/notes/create.main in serverless.yml work?

Yeah it takes paths as well.

Didn’t realize there was a repo that will help me understand.

1 Like