code: function (hbsdir, hbsfile, encode) {
          encode = encode || DEFAULT_ENCODE;
  
          var reg_hbs =  /.hbs$/;
          var hbspath = path.normalize(hbsdir + '/' + hbsfile);
          var hbscjsfile = hbsfile.replace(reg_hbs, '.hbsc.js');
          var dstpath = path.normalize(hbsdir + '/' + hbscjsfile);
  
          var out = [];
  
          // beez custom
          out.push('define([\'beez\'], function(beez) {\n');
          out.push('  var Handlebars = beez.vendor.Handlebars;\n');
          out.push('  var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};\n');
  
          var data = fs.readFileSync(hbspath, encode);
          var template = path.basename(hbspath);
          template = template.replace(reg_hbs, '');
  
          logger.debug('precompile file:', hbspath);
          out.push('templates[\''+template+'\'] = template(' + handlebars.precompile(data)+');\n');
  
          // end
          out.push('    return templates[\''+template+'\'];');
          out.push('});');
          out = out.join('');
  
          fs.writeFileSync(dstpath, out, encode);
  
          return dstpath;
  
      }
docs: If you have a hbs, I generated. hbsc.js what was handlebars.precompile.
  Warnning: JS that is generated, become Handlebars.templates.
  
  @name hbs2hbscjs
  @memberof hbs
  @method
  @param {String} hbsdir src/dst dir path
  @param {String} hbsfile src hbs file name
  @param {String} encode read file encode.
  @return {String} Output file path.