<commit_before>const CopyWebpackPlugin = require('copy-webpack-plugin');
const DashboardPlugin = require('webpack-dashboard/plugin');
const path = require('path');
const webpack = require('webpack')
const UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;

module.exports = {
  context: path.join(__dirname, 'src'),
  entry: {
    'boss.core': path.join(__dirname, 'src/js/boss.core.js')
  },
  output: {
    path: path.join(__dirname, 'dist'),
    filename: 'js/boss.min.js',
    library: 'Boss',
    libraryTarget: 'umd',
    umdNamedDefine: true
  },
  devServer: {
    inline: true,
    progress: true,
    colors: true,
    open: true,
    contentBase: path.join(__dirname, 'dist')
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, 'src/js')
        ],
        exclude: /(node_modules|bower_components)/,
        loader: 'babel',
        query: {
          presets: ['es2015']
        }
      }
    ]
  },
  plugins: [
    new UglifyJsPlugin({ minimize: true })<commit_msg>Removed output server from webpack.config<commit_after>const CopyWebpackPlugin = require('copy-webpack-plugin');
const DashboardPlugin = require('webpack-dashboard/plugin');
const path = require('path');
const webpack = require('webpack')
const UglifyJsPlugin = webpack.optimize.UglifyJsPlugin;

module.exports = {
  context: path.join(__dirname, 'src'),
  entry: {
    'boss.core': path.join(__dirname, 'src/js/boss.core.js')
  },
  output: {
    path: path.join(__dirname, 'dist'),
    filename: 'js/boss.min.js',
    library: 'Boss',
    libraryTarget: 'umd',
    umdNamedDefine: true
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        include: [
          path.resolve(__dirname, 'src/js')
        ],
        exclude: /(node_modules|bower_components)/,
        loader: 'babel',
        query: {
          presets: ['es2015']
        }
      }
    ]
  },
  plugins: [
    new UglifyJsPlugin({ minimize: true })
{'fraction_non_alphanumeric': 0.15587044534412955, 'fraction_numerical': 0.004048582995951417, 'mean_word_length': 2.7231638418079096, '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': '7346073', 'n_tokens_mistral': 664, 'n_tokens_neox': 653, 'n_words': 124}