Grunt task that uses google traceur compiler to build ECMAScript 6 (harmony) projects, optionally merging and generating source maps.
npm install grunt-traceur-build --save-dev
The "traceur_build" task
In your project's Gruntfile, add a section named
traceur_build to the data object passed into
Almost all options are passed to the traceur compiler directly, see the section below for the default values.
It will by default generate source maps for debugging(as far as I know only google chrome and node-inspector support this feature. In node.js, stack traces will display the original filenames/location if you install the node-source-map-support package