<commit_before>const webpack = require('webpack');
const HappyPack = require('happypack');
const path = require('path');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const utils = require('./utils');

const ROOT = '..';
const SRC = 'src';
const BUILD = 'dist';
const DLL = 'dll';
const PATHS = {
  app: path.join(__dirname, ROOT, SRC),
  scripts: path.join(__dirname, ROOT, SRC, 'js'),
  styles: path.join(__dirname, ROOT, SRC, 'styles'),
  images: path.join(__dirname, ROOT, SRC, 'img'),
  build: path.join(__dirname, ROOT, BUILD),
  dll: path.join(__dirname, ROOT, DLL),
};

// These dependencies will be extracted out into `vendor.js` in production build.
// App bundle changes more often than vendor bundle and splitting app bundle from
// 3rd-party vendor bundle allows the vendor bundle to be cached.
const VENDOR = [
  'axios',
  'babel-polyfill',
  'classnames',
  'lodash',
  'react',
  'react-addons-shallow-compare',
  'react-autobind',
  'react-document-title',
  'react-dom',
  'redux',
  'react-redux',
  'react-router',
  'react-router-redux',
  'react-select-fast-filter-options',
  'react-virtualized-select',
  'redux-thunk',
  'nusmoderator',
];

const common = {
  // This tells Webpack where to look for modules.<commit_msg>Add ical-generator to vendor in webpack config<commit_after>const webpack = require('webpack');
const HappyPack = require('happypack');
const path = require('path');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
const utils = require('./utils');

const ROOT = '..';
const SRC = 'src';
const BUILD = 'dist';
const DLL = 'dll';
const PATHS = {
  app: path.join(__dirname, ROOT, SRC),
  scripts: path.join(__dirname, ROOT, SRC, 'js'),
  styles: path.join(__dirname, ROOT, SRC, 'styles'),
  images: path.join(__dirname, ROOT, SRC, 'img'),
  build: path.join(__dirname, ROOT, BUILD),
  dll: path.join(__dirname, ROOT, DLL),
};

// These dependencies will be extracted out into `vendor.js` in production build.
// App bundle changes more often than vendor bundle and splitting app bundle from
// 3rd-party vendor bundle allows the vendor bundle to be cached.
const VENDOR = [
  'axios',
  'babel-polyfill',
  'classnames',
  'lodash',
  'ical-generator',
  'react',
  'react-addons-shallow-compare',
  'react-autobind',
  'react-document-title',
  'react-dom',
  'redux',
  'react-redux',
  'react-router',
  'react-router-redux',
  'react-select-fast-filter-options',
  'react-virtualized-select',
  'redux-thunk',
  'nusmoderator',
];

const common = {
  // This tells Webpack where to look for modules.
{'fraction_non_alphanumeric': 0.15557190143435087, 'fraction_numerical': 0.000735564545788893, 'mean_word_length': 4.528455284552845, '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': '7641818', 'n_tokens_mistral': 917, 'n_tokens_neox': 900, 'n_words': 248}