<commit_before>var path = require('path');
var CleanWebpackPlugin = require('clean-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
var webpackConfig = require('./webpack.config');

webpackConfig.devtool = 'cheap-module-source-map';

webpackConfig.plugins.push(
    new CleanWebpackPlugin(['dist'])
);

// Copy files from assets/img to dist/assets/img
webpackConfig.plugins.push(
    new CopyWebpackPlugin([
        { from: 'assets/img', to: 'assets/img' }
    ])
);

webpackConfig.output = {
    path: path.join(__dirname, 'dist'),
    filename: '[name].[hash].js'
};<commit_msg>build fix<commit_after>var path = require('path');
var CleanWebpackPlugin = require('clean-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin');
var webpackConfig = require('./webpack.config');

webpackConfig.devtool = 'cheap-module-source-map';

webpackConfig.plugins.push(
    new CleanWebpackPlugin(['dist'])
);

// Copy files from assets to dist/assets
webpackConfig.plugins.push(
    new CopyWebpackPlugin([
        { from: 'assets', to: 'assets' }
    ])
);

webpackConfig.output = {
    path: path.join(__dirname, 'dist'),
    filename: '[name].[hash].js'
};
{'fraction_non_alphanumeric': 0.16470588235294117, 'fraction_numerical': 0.0, 'mean_word_length': 4.617924528301887, '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': '4405298', 'n_tokens_mistral': 364, 'n_tokens_neox': 361, 'n_words': 73}