aaronfrost/grunt-traceur — pull request #44 by tedberg (2014-11-14 00:05:46+00:00)
Title: Added pathPrefix option to control generated module names

My compiled modules were coming out as:

System.register(".._src/main/web/scripts/es6/module",

This is due to how grunt and yeoman are setup on a maven (java) project. The location of the source js files relative to the Gruntfile is irrelevant, yet the files array that gets passed to the plugin always has this info. This enhancement allows a user to set an additional option:

pathPrefix: '<%= app %>/scripts/'

which is simply the 'junk' that can be stripped from the start of the computed module name.