<commit_before>var config = require('./webpack.config.js')

var path = require('path')
var webpack = require('webpack')

config.debug = false
config.devtool = 'source-map'

config.output.filename = '[name].[hash].bundle.js'
config.output.publicPath = process.env.ASSET_HOST + '/static/'

config.plugins.push(new webpack.optimize.OccurenceOrderPlugin())
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
  minimize: true,
  sourceMap: true,
  compress: { warnings: false },
}))

module.exports = config<commit_msg>Use only one entry in production<commit_after>var config = require('./webpack.config.js')

var path = require('path')
var webpack = require('webpack')

config.debug = false
config.devtool = 'source-map'

config.entry = [
  './src/index',
]

config.output.filename = '[name].[hash].bundle.js'
config.output.publicPath = process.env.ASSET_HOST + '/static/'

config.plugins.push(new webpack.optimize.OccurenceOrderPlugin())
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
  minimize: true,
  sourceMap: true,
  compress: { warnings: false },
}))

module.exports = config
{'fraction_non_alphanumeric': 0.15482695810564662, 'fraction_numerical': 0.0, 'mean_word_length': 5.174157303370786, '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': '6860715', 'n_tokens_mistral': 352, 'n_tokens_neox': 352, 'n_words': 68}