lib/hbs.js
function loadBeautify() {
    if (!self.beautify) {
      self.beautify = require('js-beautify').html;
      var rc = path.join(process.cwd(), '.jsbeautifyrc');
      if (fs.existsSync(rc)) {
        self.beautifyrc = JSON.parse(fs.readFileSync(rc, 'utf8'));
      }
    }
  }
function loadBeautify() {
    if (!self.beautify) {
      self.beautify = require('js-beautify').html;
      var rc = path.join(process.cwd(), '.jsbeautifyrc');
      if (fs.existsSync(rc)) {
        self.beautifyrc = JSON.parse(fs.readFileSync(rc, 'utf8'));
      }
    }
  }
function loadBeautify ( ) { if ( ! self . beautify ) { self . beautify = require ( 'js-beautify' ) . html ; var rc = path . join ( process . cwd ( ) , '.jsbeautifyrc' ) ; if ( fs . existsSync ( rc ) ) { self . beautifyrc = JSON . parse ( fs . readFileSync ( rc , 'utf8' ) ) ; } } }
Lazy loads js-beautify, which should not be used in production env.
Lazy loads js - beautify which should not be used in production env .