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

module.exports = {
    // NOTE: absolute path is important for live reload
    context: path.resolve(__dirname, 'src'),
    entry: "./app.js",
    output: {
        path: './dist',
        filename: '[name].js'
    },
    module: {
        loaders: [{
            test: /\.js$/,
            loader: 'babel',
        }],
    },
};<commit_msg>#4: common error with node_modules not being excluded from babel-loader<commit_after>var path = require('path');
var webpack = require('webpack');

module.exports = {
    // NOTE: absolute path is important for live reload
    context: path.resolve(__dirname, 'src'),
    entry: "./app.js",
    output: {
        path: './dist',
        filename: '[name].js'
    },
    module: {
        loaders: [{
            test: /\.js$/,
            loader: 'babel',
            include: path.resolve(__dirname, 'src'),
        }],
    },
};
{'fraction_non_alphanumeric': 0.1696522655426765, 'fraction_numerical': 0.001053740779768177, 'mean_word_length': 2.074433656957929, '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': '4778677', 'n_tokens_mistral': 286, 'n_tokens_neox': 279, 'n_words': 74}