serverless-coffeescript

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.

Setup

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

Usage

Simply run serverless deploy and it will compile every CoffeeScript file in your service