joefiorini/grunt-es6-module-transpiler — pull request #4 by lukemelia (2013-05-23 15:25:17+00:00)
Title: Add support for moduleName option to be a callback

This PR adds support for the moduleName option to be a callback.

The callback is provided the default module name and should
return the desired module name. This is particularly useful
for adding or stripping module prefixes.

This commit also improves the default module naming by
stripping the cwd if it was specified in the files option.

@lukemelia/@kselden