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

config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')

delete config.devtool

config.plugins = [
  new webpack.optimize.ModuleConcatenationPlugin(),
  new webpack.optimize.UglifyJsPlugin({
    sourceMap: false,
    compress: {
      warnings: false
    }
  })
]

module.exports = config<commit_msg>🐛 Add sourcemap generation for minified version<commit_after>var config = require('./webpack.release.js')
var webpack = require('webpack')

config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')

config.plugins = [
  new webpack.optimize.ModuleConcatenationPlugin(),
  new webpack.optimize.UglifyJsPlugin({
    sourceMap: true,
    compress: {
      warnings: false
    }
  })
]

module.exports = config
{'fraction_non_alphanumeric': 0.14081145584725538, 'fraction_numerical': 0.0, 'mean_word_length': 4.023952095808383, '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': '1333991', 'n_tokens_mistral': 267, 'n_tokens_neox': 267, 'n_words': 49}