Coffe-Script support?

Does the serverless framework support authoring your handlers in Coffee-Script, trans piling on deployment? I couldn’t find any information on this one way or another.

Hey Duane,

Out of the box there is no support for this but you are in luck!

You can add or create plugins to alter the deploy step and transpile your coffeescript into ES5.

Checkout https://github.com/FidelLimited/serverless-plugin-optimize and https://github.com/serverless/serverless-babel-plugin for plugin examples that are using Babel.

For additional examples on how plugins work see: https://github.com/serverless/plugins or the tutorial on our blog https://serverless.com/blog/writing-serverless-plugins/

Ok then, there’s one now… it’s not fancy but it works.

https://www.npmjs.com/package/serverless-coffeescript

2 Likes

:tada: Great work! I’m sure the other coffeescripters with enjoy this =)

Thanks for giving back to the community!