module.exports = {
  compile: {
    options: {
      templateName: function(filename) {
        return filename.replace(/app\/templates\//,'').replace(/\.hbs/,'');
      }
    },
    files: {
      "tmp/public/assets/templates.js": "app/templates/*.hbs"
    }
  }
};

module.exports = {
  compile: {
    options: {
      templateName: function(filename) {
        return filename.replace(/app\/templates\//,'').replace(/\.(hbs|hjs|handlebars)/,'');
      }
    },
    files: {
      "tmp/public/assets/templates.js": "app/templates/*.hbs"
    }
  }
};

Support .handlebars & .hjs exts for templates