<commit_before>var Webpack = require('webpack');
var path = require('path');
var nodeModulesPath = path.resolve(__dirname, 'node_modules');
var buildPath = path.resolve(__dirname, 'public', 'build');
var mainPath = path.resolve(__dirname, 'app', 'scripts', 'index.jsx');
var autoprefixer = require('autoprefixer-core');

module.exports = {
  devtool: 'eval',
  entry: [
    'webpack/hot/dev-server',
    'webpack-dev-server/client?http://localhost:8080',
    mainPath
  ],
  output: {
    path: buildPath,
    filename: 'bundle.js',
    publicPath: '/build/'
  },
  module: {
    loaders: [{
      test: /\.jsx?$/,
      exclude: [nodeModulesPath],
      loader: 'babel'
    }, {
      test: /\.scss$/,
      loader: 'style!css!sass!postcss'
    }, {
      test: /\.css$/,
      loader: 'style!css!postcss'
    }, {
      test: /\.(png|jpg)$/,
      loader: 'url?limit=25000'
    }, {
      test: /\.(json)$/,
      loader: 'json'
    }, {
      test: /\.(woff.*|eot.*|ttf.*|svg.*)$/,
      loader: 'url?limit=100000'
    }]
  },
  postcss: [ autoprefixer({ browsers: ['last 2 version'] }) ],
  plugins: [
    new Webpack.HotModuleReplacementPlugin(),
    new Webpack.DefinePlugin({
      'process.env': {
        'BASE_URL': '"http://localhost:3000"',
        'GOOGLE_ANALYTICS_CODE': '"FAKE_GA_CODE"'
      },<commit_msg>[#98823256] add test Google Analytics code<commit_after>var Webpack = require('webpack');
var path = require('path');
var nodeModulesPath = path.resolve(__dirname, 'node_modules');
var buildPath = path.resolve(__dirname, 'public', 'build');
var mainPath = path.resolve(__dirname, 'app', 'scripts', 'index.jsx');
var autoprefixer = require('autoprefixer-core');

module.exports = {
  devtool: 'eval',
  entry: [
    'webpack/hot/dev-server',
    'webpack-dev-server/client?http://localhost:8080',
    mainPath
  ],
  output: {
    path: buildPath,
    filename: 'bundle.js',
    publicPath: '/build/'
  },
  module: {
    loaders: [{
      test: /\.jsx?$/,
      exclude: [nodeModulesPath],
      loader: 'babel'
    }, {
      test: /\.scss$/,
      loader: 'style!css!sass!postcss'
    }, {
      test: /\.css$/,
      loader: 'style!css!postcss'
    }, {
      test: /\.(png|jpg)$/,
      loader: 'url?limit=25000'
    }, {
      test: /\.(json)$/,
      loader: 'json'
    }, {
      test: /\.(woff.*|eot.*|ttf.*|svg.*)$/,
      loader: 'url?limit=100000'
    }]
  },
  postcss: [ autoprefixer({ browsers: ['last 2 version'] }) ],
  plugins: [
    new Webpack.HotModuleReplacementPlugin(),
    new Webpack.DefinePlugin({
      'process.env': {
        'BASE_URL': '"http://localhost:3000"',
        'GOOGLE_ANALYTICS_CODE': '"UA-27626466-6"'
      },
{'fraction_non_alphanumeric': 0.1991778774289985, 'fraction_numerical': 0.021300448430493273, 'mean_word_length': 2.8025568181818183, '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': '7175429', 'n_tokens_mistral': 997, 'n_tokens_neox': 939, 'n_words': 169}