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

module.exports = function(env) {
  return {
    entry: {
      react: [
        'react',
        'react-dom',
        'react-helmet',
        'react-redux',
        'react-router',
        'react-router-redux',
        'react-router-scroll',
        'react-apollo',
        'recompose',
        'redux',
      ],
      utils: [
        'apollo-client',
        'classnames',
        'es6-promise',
        'graphql-tag',
        'immutability-helper',
        'isomorphic-fetch',
      ],
    },

    output: {
      filename: 'vendor-[name].js',
      path: path.join(process.cwd(), 'static', 'build'),
      library: '[name]_lib',
    },

    plugins: [
      new webpack.DllPlugin({
        path: path.join(process.cwd(), 'static', 'build', 'vendor-[name]-manifest.json'),
        name: '[name]_lib',
      }),
    ],
  }
}<commit_msg>add hash for vendor chunks<commit_after>const path = require('path');
const webpack = require('webpack');

module.exports = function(env) {
  return {
    entry: {
      react: [
        'react',
        'react-dom',
        'react-helmet',
        'react-redux',
        'react-router',
        'react-router-redux',
        'react-router-scroll',
        'react-apollo',
        'recompose',
        'redux',
      ],
      utils: [
        'apollo-client',
        'classnames',
        'es6-promise',
        'graphql-tag',
        'immutability-helper',
        'isomorphic-fetch',
      ],
    },

    output: {
      filename: 'vendor-[name]-[hash].js',
      path: path.join(process.cwd(), 'static', 'build'),
      library: '[name]_lib',
    },

    plugins: [
      new webpack.DllPlugin({
        path: path.join(process.cwd(), 'static', 'build', 'vendor-[name]-manifest-[hash].json'),
        name: '[name]_lib',
      }),
    ],
  }
}
{'fraction_non_alphanumeric': 0.1821103374397429, 'fraction_numerical': 0.0010712372790573112, 'mean_word_length': 1.9051321928460343, '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': '4403663', 'n_tokens_mistral': 620, 'n_tokens_neox': 598, 'n_words': 98}