<commit_before>const path = require('path');

module.exports = {
  entry: './index.js',
  output: {
    path: path.resolve(__dirname, '../public/assets/js'),
    filename: 'bundle.js',
    publicPath: '/assets/js/'
  },
  devtool: 'source-map',
  target: 'web',
  devServer: {
    contentBase: path.resolve(__dirname, '../public')
  }
};<commit_msg>added babel loader and commonchunkplugin<commit_after>const webpack = require('webpack'),
      path = require('path');

module.exports = {
  entry: {
    bundle: './index.js',
    vendor: ['vue', 'vue-router', 'vuex']
  },
  output: {
    path: path.resolve(__dirname, '../public/assets/js'),
    filename: '[name].js',
    publicPath: '/assets/js/'
  },
  module: {
    rules: [{
      test: /\.js$/,
      exclude: /(node_modules|bower_components)/,
      use: {
        loader: 'babel-loader'
      }
    }]
  },
  devtool: 'source-map',
  target: 'web',
  plugins: [
    new webpack.optimize.CommonsChunkPlugin({
      name: 'vendor'
    })
  ],
  devServer: {
    contentBase: path.resolve(__dirname, '../public')
  }
};
{'fraction_non_alphanumeric': 0.19441860465116279, 'fraction_numerical': 0.0, 'mean_word_length': 2.788732394366197, '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': '5177512', 'n_tokens_mistral': 368, 'n_tokens_neox': 364, 'n_words': 69}