<commit_before>const { resolve, join } = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
    entry: resolve(__dirname),
    devtool: 'source-map',
    output: {
        path: join(__dirname, 'dist'),
        filename: 'index.js',
        publicPath: '/static/'
    },
    resolve: {
        extensions: ['.js', '.jsx'],
    },
    devServer: {
        compress: true,
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /node_modules/,
                use: {
                    loader: 'babel-loader',<commit_msg>Fixed publicPath in example<commit_after>const { resolve, join } = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
    entry: resolve(__dirname),
    devtool: 'source-map',
    output: {
        path: join(__dirname, 'dist'),
        filename: 'index.js',
        publicPath: '/',
    },
    resolve: {
        extensions: ['.js', '.jsx'],
    },
    devServer: {
        compress: true,
    },
    module: {
        rules: [
            {
                test: /\.jsx?$/,
                exclude: /node_modules/,
                use: {
                    loader: 'babel-loader',
{'fraction_non_alphanumeric': 0.15730337078651685, 'fraction_numerical': 0.0, 'mean_word_length': 1.6702355460385439, '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': '890666', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 73}