Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Serverless.ts splitting
export default {
hello: {
handler: 'index.hello'
},
goodbye: {
handler: 'index.goodbye'
}
};
import functions from './functions';
const serverlessConfiguration: Serverless = {
service: 'myServerlessService',
provider: {
name: 'aws',
runtime: 'nodejs12.x'
},
functions
};
module.exports = serverlessConfiguration;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment