<commit_before>var transformTools = require( 'browserify-transform-tools' );
var extend = require( 'extend' );

var options = {
  excludeExtensions: [
    '.json'
  ],
  includeExtensions: [
    '.jsx',
    '.js',
    '.es6'
  ]
};

var transformExclude = require( 'browserify-transform-tools-exclude' );
var fnTransform = transformExclude( function ( content, transformOptions, done ) {
  var file = transformOptions.file;

  var configData = transformOptions.configData || { };
  var config = configData.config || { };

  var babelCore = require( 'babel-core' );
  try {
    content = babelCore.transform( content, extend( { }, config.babelConfig, {
      filename: file
    } ) ).code;
    done( null, content );<commit_msg>FIX: remove excludeExtensions from babelify<commit_after>var transformTools = require( 'browserify-transform-tools' );
var extend = require( 'extend' );

var options = {
  includeExtensions: [
    '.jsx',
    '.js',
    '.es6'
  ]
};

var transformExclude = require( 'browserify-transform-tools-exclude' );
var fnTransform = transformExclude( function ( content, transformOptions, done ) {
  var file = transformOptions.file;

  var configData = transformOptions.configData || { };
  var config = configData.config || { };

  var babelCore = require( 'babel-core' );
  try {
    content = babelCore.transform( content, extend( { }, config.babelConfig, {
      filename: file
    } ) ).code;
    done( null, content );
{'fraction_non_alphanumeric': 0.13988919667590027, 'fraction_numerical': 0.0013850415512465374, 'mean_word_length': 3.661290322580645, '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': '5782704', 'n_tokens_mistral': 439, 'n_tokens_neox': 428, 'n_words': 106}