<commit_before>// Webpack Configuration
// =====================
//
// Import Modules
// --------------
//
// ### Node.js Modules

import path from 'path';

// ### NPM Modules

import {assign} from 'bound-native-methods/object';
import Webpack from 'webpack';

// Define Values
// -------------

const isProduction = process.env.NODE_ENV === 'production';

// Export Module
// -------------

export default {

  // General Settings
  // ----------------

  entry: [
    'webpack-hot-middleware/client',
    './source/scripts/main'
  ],

  output: {
    path: '/', // Required by Webpack Dev Middleware
    filename: 'main.js'
  },

  module: {
    loaders: [{
      test: /\.js$/,
      exclude: /node_modules/,
      loader: 'babel'
    }]
  },

  // ### [Module Resolution](http://webpack.github.io/docs/configuration.html#resolve)
  //
  // Set the `source` directory as the root when resolving local modules to eliminate the clutter associated with importing from a deeply nested directory structure
  //
  // #### Why not using `resolve.modulesDirectories`?
  //
  // See [https://github.com/webpack/webpack/issues/472](https://github.com/webpack/webpack/issues/472)

  resolve: {<commit_msg>Adjust comment styling<commit_after>// Webpack Configuration
// =====================
//
// Import Modules
// --------------
//
// ### Node.js Modules

import path from 'path';

// ### NPM Modules

import {assign} from 'bound-native-methods/object';
import Webpack from 'webpack';

// Define Values
// -------------

const isProduction = process.env.NODE_ENV === 'production';

// Export Module
// -------------

export default {

  // General Settings
  // ----------------

  entry: [
    'webpack-hot-middleware/client',
    './source/scripts/main'
  ],

  output: {
    path: '/', // Required by Webpack Dev Middleware
    filename: 'main.js'
  },

  module: {
    loaders: [{
      test: /\.js$/,
      exclude: /node_modules/,
      loader: 'babel'
    }]
  },

  // ### [Module Resolution](http://webpack.github.io/docs/configuration.html#resolve)
  //
  // Set the `source` directory as the root when resolving local modules to eliminate the clutter associated with importing from a deeply nested directory structure.
  //
  // #### Why not use `resolve.modulesDirectories`?
  //
  // See [https://github.com/webpack/webpack/issues/472](https://github.com/webpack/webpack/issues/472).

  resolve: {
{'fraction_non_alphanumeric': 0.21306699958385353, 'fraction_numerical': 0.004993757802746567, 'mean_word_length': 2.334257975034674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3696626', 'n_tokens_mistral': 727, 'n_tokens_neox': 695, 'n_words': 174}