<commit_before>var vow = require('vow'),
    webpack = require('webpack');

modules.exports = require('enb/lib/build-flow').create()
    .name('bem-babel')
    .target('target', '?.browser.js')
    .useFileList(['vanilla.js', 'js', 'browser.js'])
    .builder(function (files) {
        var res = vow.defer(),
            node = this.node,
            target = this._target,
            targetDir = node.getDir(),
            preWebpackPath = node.resolvePath('.pre-webpack.' + target),
            resultPath = node.resolvePath(target);

        fs.writeFile(
            preWebpackPath,
            files.map(function(file) {
                return 'import \'bem-source:' + file.fullname + '\';';
            }).join('\n'),
            function(err) {
                webpack(
                    {
                        entry : preWebpackPath,
                        output : {
                            path : targetDir,
                            filename : target
                        },
                        module : {
                            loaders : [
                                {
                                    test : /\.js$/,
                                    loader : 'babel-loader',<commit_msg>fix a typo<commit_after>var vow = require('vow'),
    webpack = require('webpack');

module.exports = require('enb/lib/build-flow').create()
    .name('bem-babel')
    .target('target', '?.browser.js')
    .useFileList(['vanilla.js', 'js', 'browser.js'])
    .builder(function (files) {
        var res = vow.defer(),
            node = this.node,
            target = this._target,
            targetDir = node.getDir(),
            preWebpackPath = node.resolvePath('.pre-webpack.' + target),
            resultPath = node.resolvePath(target);

        fs.writeFile(
            preWebpackPath,
            files.map(function(file) {
                return 'import \'bem-source:' + file.fullname + '\';';
            }).join('\n'),
            function(err) {
                webpack(
                    {
                        entry : preWebpackPath,
                        output : {
                            path : targetDir,
                            filename : target
                        },
                        module : {
                            loaders : [
                                {
                                    test : /\.js$/,
                                    loader : 'babel-loader',
{'fraction_non_alphanumeric': 0.12884927066450566, 'fraction_numerical': 0.0, 'mean_word_length': 1.0557868442964196, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2837183', 'n_tokens_mistral': 632, 'n_tokens_neox': 597, 'n_words': 105}