<commit_before>var webpack = require('webpack')
var CleanPlugin = require('clean-webpack-plugin')
var path = require('path')

module.exports = {
  cache: true,
  progress: true,

  context: path.resolve(__dirname, '..'),

  devtool: 'source-map',

  entry: './client/app.js',

  output: {
    path: './static/dist/',
    publicPath: '/dist/',
    filename: 'app.js'
  },

  plugins: [
    // Clean
    new CleanPlugin(['static/dist/']),

    // Optimize
    new webpack.optimize.DedupePlugin(),
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.optimize.UglifyJsPlugin({
      sourceMap: false,
      compress: {
        warnings: false
      }
    }),

    // Meta, debug info.<commit_msg>Fix webpack configuration<commit_after>var webpack = require('webpack')
var CleanPlugin = require('clean-webpack-plugin')
var path = require('path')

module.exports = {
  cache: true,
  progress: true,

  context: path.resolve(__dirname, '..'),

  devtool: 'source-map',

  entry: './client/app.js',

  output: {
    path: __dirname + '../static/dist/',
    publicPath: '/dist/',
    filename: 'app.js'
  },

  plugins: [
    // Clean
    new CleanPlugin(['static/dist/']),

    // Optimize
    new webpack.optimize.DedupePlugin(),
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.optimize.UglifyJsPlugin({
      sourceMap: false,
      compress: {
        warnings: false
      }
    }),

    // Meta, debug info.
{'fraction_non_alphanumeric': 0.1602787456445993, 'fraction_numerical': 0.0, 'mean_word_length': 2.778947368421053, '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': '1322097', 'n_tokens_mistral': 474, 'n_tokens_neox': 461, 'n_words': 94}