<commit_before>const path = require('path');
const webpack = require('webpack');
const WatchIgnorePlugin = webpack.WatchIgnorePlugin;

demoConfig = {
    entry: [
        'webpack-dev-server/client?http://localhost:3000',
        'webpack/hot/only-dev-server',
        './app'
    ],
    output: {
        path: __dirname + '/public/',
        filename: 'focus-demo-app.js',
        publicPath: '/' // as viewed from index.html
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin(),
        new webpack.DefinePlugin({
            API_ROOT: '"http://localhost:9999"'
        })
    ],
    resolve: {
        alias: {
            //'focus-core': path.resolve(__dirname, '../focus-core/lib'),
            'focus-core': path.resolve(__dirname, './node_modules/focus-core/lib'),
            //focus-components': path.resolve(__dirname, '../focus-components/src'),
            'focus-components': path.resolve(__dirname, './node_modules/focus-components/src'),
            react: path.resolve(__dirname, './node_modules/react'),
            //'_variable.scss': path.resolve(__dirname, './node_modules/focus-components/src/style/_mdl_variables.scss')
            //'backbone': path.resolve(__dirname, './node_modules/backbone'), // to force webpack to resolve conflicts with backbone when component is call in local
            //'i18next-client': path.resolve(__dirname, './node_modules/i18next-client') // to force webpack to resolve conflicts with i18n when component is call in local
        },
        extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx']
    },
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                loaders: ['react-hot', 'babel?cacheDirectory'],
                include: [<commit_msg>corrections<commit_after>const path = require('path');
const webpack = require('webpack');
const WatchIgnorePlugin = webpack.WatchIgnorePlugin;

demoConfig = {
    entry: [
        'webpack-dev-server/client?http://localhost:3000',
        'webpack/hot/only-dev-server',
        './app'
    ],
    output: {
        path: __dirname + '/public/',
        filename: 'focus-demo-app.js',
        publicPath: '/' // as viewed from index.html
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin(),
        new webpack.DefinePlugin({
            API_ROOT: '"http://localhost:9999"'
        })
    ],
    resolve: {
        alias: {
            //'focus-core': path.resolve(__dirname, '../focus-core/lib'),
            'focus-core': path.resolve(__dirname, './node_modules/focus-core/lib'),
            //'focus-components': path.resolve(__dirname, '../focus-components/src'),
            'focus-components': path.resolve(__dirname, './node_modules/focus-components/src'),
            react: path.resolve(__dirname, './node_modules/react'),
            '_variable.scss': path.resolve(__dirname, './node_modules/focus-components/src/style/_mdl_variables.scss')
            //'backbone': path.resolve(__dirname, './node_modules/backbone'), // to force webpack to resolve conflicts with backbone when component is call in local
            //'i18next-client': path.resolve(__dirname, './node_modules/i18next-client') // to force webpack to resolve conflicts with i18n when component is call in local
        },
        extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx']
    },
    module: {
        loaders: [
            {
                test: /\.jsx?$/,
                loaders: ['react-hot', 'babel?cacheDirectory'],
                include: [
{'fraction_non_alphanumeric': 0.16028368794326242, 'fraction_numerical': 0.007943262411347518, 'mean_word_length': 2.2984097287184286, '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': '5727977', 'n_tokens_mistral': 1009, 'n_tokens_neox': 974, 'n_words': 198}