<commit_before>const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const autoprefixer = require('autoprefixer');

module.exports = {
  createConfig(options) {
    var base = {
      devtool: 'cheap-module-source-map',
      module: {
        loaders: [
          {
            test: /\.js$/,
            loader: 'babel-loader?presets[]=es2015&presets[]=stage-0',
            exclude: /node_modules/
          },
          {
            test: /\.scss$/,
            loader: ExtractTextPlugin.extract('style-loader', ['css-loader', 'postcss-loader', 'sass-loader'])
          }
        ]
      },
      postcss: function() {
        return [autoprefixer];
      },
      plugins: this.buildPlugins()
    };
    for (var option in options) {<commit_msg>update format of babel loader settings to make them more readable<commit_after>const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const autoprefixer = require('autoprefixer');

module.exports = {
  createConfig(options) {
    var base = {
      devtool: 'cheap-module-source-map',
      module: {
        loaders: [
          {
            test: /\.js$/,
            exclude: /node_modules/,
            loader: 'babel',
            query: {
              presets: ['es2015', 'stage-0']
            }
          },
          {
            test: /\.scss$/,
            loader: ExtractTextPlugin.extract('style-loader', ['css-loader', 'postcss-loader', 'sass-loader'])
          }
        ]
      },
      postcss: function() {
        return [autoprefixer];
      },
      plugins: this.buildPlugins()
    };
    for (var option in options) {
{'fraction_non_alphanumeric': 0.14488468361916026, 'fraction_numerical': 0.0059136605558840925, 'mean_word_length': 1.9477351916376306, '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': '5854003', 'n_tokens_mistral': 508, 'n_tokens_neox': 496, 'n_words': 96}