If you haven't used grunt before, be sure to check out the Getting Started guide, as it explains how to create a gruntfile as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command:
npm install grunt-coffee-redux --save-dev
Run this task with the
grunt coffeeredux command.
This task is a [multi task] so any targets, files and options should be specified according to the [multi task] documentation. [multi task]: https://github.com/gruntjs/grunt/wiki/Configuring-tasks
This plugin provides the CoffeeScript Redux compiler.
The source map will be named like this:
The CoffeeScript file with all concatenated sources will be named like this:
coffeeredux:options:bare: falsesourceMap: truecompile:files:'tmp/helloworld.js':'test/fixtures/hello.coffee''test/fixtures/world.coffee'
This configuration will create following files in the
helloworld.js.coffee: This is the result of the concatenation of the
helloworld.jsmap.json: The source map who is pointing to the
Task submitted by Moritz Heuser
This file was generated on Sun Feb 10 2013 11:15:56.