<commit_before>/* global require */

var webpack = require('webpack');

//noinspection JSUnresolvedVariable
module.exports = {
    entry: './client/main.js',
    output: {
        path: __dirname,
        filename: './server/static/scripts/bundle.js'
    },
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: [/node_modules/],
                use: [{
                    loader: 'babel-loader',
                    options: {presets: ['es2015', 'react']}
                }],
            },
            {
                test: /\.scss$/,
                use: [
                    'style-loader',
                    'css-loader',
                    'sass-loader',
                ]
            }
        ]
    }
};<commit_msg>Fix webpack bundle output path<commit_after>/* global require */

var webpack = require('webpack');

//noinspection JSUnresolvedVariable
module.exports = {
    entry: './client/main.js',
    output: {
        path: __dirname,
        filename: './server/src/static/scripts/bundle.js'
    },
    module: {
        rules: [
            {
                test: /\.js$/,
                exclude: [/node_modules/],
                use: [{
                    loader: 'babel-loader',
                    options: {presets: ['es2015', 'react']}
                }],
            },
            {
                test: /\.scss$/,
                use: [
                    'style-loader',
                    'css-loader',
                    'sass-loader',
                ]
            }
        ]
    }
};
{'fraction_non_alphanumeric': 0.1415873015873016, 'fraction_numerical': 0.005079365079365079, 'mean_word_length': 0.974937343358396, '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': '4181115', 'n_tokens_mistral': 450, 'n_tokens_neox': 411, 'n_words': 74}