<commit_before>/**
 * For developing docs
 */
'use strict'
const path = require('path')
const webpack = require('webpack')
const target = process.env.npm_lifecycle_event

const plugins = []
if (target === 'docs') {
  plugins.push(
    new webpack.DefinePlugin({
      'process.env': {
        NODE_ENV: JSON.stringify('production')
      }
    }),
    new webpack.optimize.UglifyJsPlugin()
  )
}

module.exports = {
  entry: {
    app: './docs/app.js'
  },
  output: {
    path: path.join(__dirname, 'docs'),
    filename: '[name].bundle.js',
    publicPath: '/docs/'
  },
  module: {
    rules: [
      {test: /\.jsx?$/, use: 'babel-loader'},
      {test: /\.css?$/, use: ['style-loader', 'css-loader']}
    ]
  },
  performance: {
    hints: false
  },
  plugins,
  devServer: {
    host: '0.0.0.0'
  }
}<commit_msg>fix webpack config typo<commit_after>/**
 * For developing docs
 */
'use strict'
const path = require('path')
const webpack = require('webpack')
const target = process.env.npm_lifecycle_event

const plugins = []
if (target === 'docs') {
  plugins.push(
    new webpack.DefinePlugin({
      'process.env': {
        NODE_ENV: JSON.stringify('production')
      }
    }),
    new webpack.optimize.UglifyJsPlugin()
  )
}

module.exports = {
  entry: {
    app: './docs/app.js'
  },
  output: {
    path: path.join(__dirname, 'docs'),
    filename: '[name].bundle.js',
    publicPath: '/docs/'
  },
  module: {
    rules: [
      {test: /\.jsx?$/, use: 'babel-loader'},
      {test: /\.css$/, use: ['style-loader', 'css-loader']}
    ]
  },
  performance: {
    hints: false
  },
  plugins,
  devServer: {
    host: '0.0.0.0'
  }
}
{'fraction_non_alphanumeric': 0.19148936170212766, 'fraction_numerical': 0.004863221884498481, 'mean_word_length': 2.6096491228070176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2083267', 'n_tokens_mistral': 609, 'n_tokens_neox': 593, 'n_words': 119}