<commit_before>var path = require('path');

var root   = __dirname.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
var escape = function (str) {
    return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
};

var regexp = ['lib', 'test'].map(function (i) {
    return '^' + escape(path.join(__dirname, i) + path.sep);
}).join('|');

require('6to5/register')({
    only:   new RegExp('(' + regexp + ')'),
    ignore: false
});
module.exports = require('./lib/postcss');
<commit_msg>Clean up ES6 loader<commit_after>var path = require('path');

var escape = function (str) {
    return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
};

var regexp = ['lib', 'test'].map(function (i) {
    return '^' + escape(path.join(__dirname, i) + path.sep);
}).join('|');

require('6to5/register')({
    only:   new RegExp('(' + regexp + ')'),
    ignore: false
});
module.exports = require('./lib/postcss');

{'fraction_non_alphanumeric': 0.33225458468176916, 'fraction_numerical': 0.005393743257820928, 'mean_word_length': 3.0, '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': '5635894', 'n_tokens_mistral': 352, 'n_tokens_neox': 347, 'n_words': 62}