<commit_before>const webpack = require('webpack')

module.exports = {
  entry: {
    'nativejsx-prototypes': './source/prototypal-helpers/index.js',
    'nativejsx-prototypes.min': './source/prototypal-helpers/index.js'
  },
  output: {
    path: './dist',
    filename: '[name].js'
  },
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      include: /min\.js$/,
      minify: true<commit_msg>Make it compatible for Webpack2 (fix the path error)<commit_after>const webpack = require('webpack')
const path = require('path')

module.exports = {
  entry: {
    'nativejsx-prototypes': './source/prototypal-helpers/index.js',
    'nativejsx-prototypes.min': './source/prototypal-helpers/index.js'
  },
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: '[name].js'
  },
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
      include: /min\.js$/,
      minify: true
{'fraction_non_alphanumeric': 0.16947250280583614, 'fraction_numerical': 0.001122334455667789, 'mean_word_length': 3.351219512195122, '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': '7614231', 'n_tokens_mistral': 315, 'n_tokens_neox': 307, 'n_words': 53}