Compile EmberScript files.
This plugin requires Grunt
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, you may install this plugin with this command:
npm install grunt-ember-script --save-dev
Run this task with the
grunt em command.
This plugin provides the EmberScript compiler.
The source map will be named like this:
The EmberScript file with all concatenated sources will be named like this:
emberscript: options: bare: false sourceMap: true compile: files: 'tmp/helloworld.js': [ 'test/fixtures/hello.em' 'test/fixtures/world.em' ]
This configuration will create following files in the
helloworld.js.em: This is the result of the concatenation of the files
helloworld.jsmap.json: The source map who is pointing to the
Task submitted by Gordon Hempton
This file was generated on Mon Jul 29 2013 23:30:11.