In older versions of grund, I run the following helpers:
module.exports = function (grunt) {
grunt.registerMultiTask('taskname', "Grunt task example", function () {
var result = grunt.helper('helpername', options, data);
...
});
grunt.registerHelper('helpername', function (options, data) {
return data;
});
};
How do I execute helpers in the new version of Grunt 0.4?
source
share