<commit_before>const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const webpack = require('webpack');
const WatchIgnorePlugin = webpack.WatchIgnorePlugin;

showcaseConfigBuilder = FOCUS_COMPONENTS => ({
    entry: [
        'webpack-dev-server/client?http://localhost:3000',
        'webpack/hot/only-dev-server',
        './src/app'
    ],
    output: {
        path: __dirname + '/dist',
        filename: 'focus-showcase.js',
        publicPath: '/dist/'
    },
    resolve: {
        alias: {
            'focus-components': path.resolve(__dirname, FOCUS_COMPONENTS)
        },
        fallback: [
            path.resolve(FOCUS_COMPONENTS, '../node_modules')
        ]
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin(),
        new webpack.DefinePlugin({
            FOCUS_COMPONENTS_FROM_SRC: '".' + FOCUS_COMPONENTS + '"'
        })
    ],
    module: {
        loaders: [
            {
                test: /.js$/,
                loaders: ['react-hot', 'babel'],
                include: [
                    path.resolve(__dirname, './src'),
                    path.resolve(FOCUS_COMPONENTS)<commit_msg>[webpack] Fix config<commit_after>const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const webpack = require('webpack');
const WatchIgnorePlugin = webpack.WatchIgnorePlugin;

showcaseConfigBuilder = FOCUS_COMPONENTS => ({
    entry: [
        'webpack-dev-server/client?http://localhost:3000',
        'webpack/hot/only-dev-server',
        './src/app'
    ],
    output: {
        path: __dirname + '/dist',
        filename: 'focus-showcase.js',
        publicPath: '/dist/'
    },
    resolve: {
        alias: {
            'focus-components': path.resolve(__dirname, FOCUS_COMPONENTS)
        },
        fallback: [
            path.resolve(FOCUS_COMPONENTS, '../node_modules')
        ]
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin(),
        new webpack.DefinePlugin({
            FOCUS_COMPONENTS_FROM_SRC: '"../' + FOCUS_COMPONENTS + '"'
        })
    ],
    module: {
        loaders: [
            {
                test: /.js$/,
                loaders: ['react-hot', 'babel'],
                include: [
                    path.resolve(__dirname, './src'),
                    path.resolve(FOCUS_COMPONENTS)
{'fraction_non_alphanumeric': 0.1415929203539823, 'fraction_numerical': 0.00337126000842815, 'mean_word_length': 1.9272503082614056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5493453', 'n_tokens_mistral': 724, 'n_tokens_neox': 689, 'n_words': 105}