Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 601 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 601 Bytes

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