A quick and dirty plugin for the Serverless Framework to compile coffee-script files into javascript at deploy time. Shamelessly cribbed from https://github.com/serverless/serverless-babel-plugin.
You need to install the plugin:
npm install --save-dev serverless-coffeescript
Further you need to add the plugin to your serverless.yml
and defined which preset you chose:
plugins:
- serverless-coffeescript
Simply run serverless deploy
and it will compile every CoffeeScript file in your service