<commit_before>/* globals __dirname */

var path = require('path');
var Funnel = require('broccoli-funnel');

var root = path.join(__dirname, '..', 'node_modules', 'handlebars', 'lib');

module.exports = {
  compiler: new Funnel(root, {
    files: [
      'handlebars/utils.js',
      'handlebars/exception.js',
      'handlebars/safe-string.js',
      'handlebars/compiler/ast.js',
      'handlebars/compiler/base.js',
      'handlebars/compiler/helpers.js',
      'handlebars/compiler/parser.js',
      'handlebars/compiler/visitor.js',
      'handlebars/compiler/whitespace-control.js'
    ]
  })
}<commit_msg>Avoid hardcoding handlebars path.<commit_after>/* globals __dirname */

var path = require('path');
var Funnel = require('broccoli-funnel');

var root = path.dirname(require.resolve('handlebars'));

module.exports = {
  compiler: new Funnel(root, {
    files: [
      'handlebars/utils.js',
      'handlebars/exception.js',
      'handlebars/safe-string.js',
      'handlebars/compiler/ast.js',
      'handlebars/compiler/base.js',
      'handlebars/compiler/helpers.js',
      'handlebars/compiler/parser.js',
      'handlebars/compiler/visitor.js',
      'handlebars/compiler/whitespace-control.js'
    ]
  })
}
{'fraction_non_alphanumeric': 0.1631321370309951, 'fraction_numerical': 0.0, 'mean_word_length': 3.3204225352112675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4607465', 'n_tokens_mistral': 404, 'n_tokens_neox': 401, 'n_words': 58}