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

var HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  // for now we set one entry for the main package.json entry
  entry: {
    app: ['./samples/example.js'],
  },

  output: {
    path: path.resolve('./build'),
    filename: 'assets/[name].min.js',
  },

  // resolve files
  // we reference a bunch of files in the build tool
  // command dir is the project path
  resolve: {
    extensions: ['.js', '.css'],
    modules: ['./node_modules'],
  },
  devtool: 'source-map',
  module: {
    loaders: [
      {
        test: /\.json$/,
        loader: 'json-loader',
      },
      {
        test: /.js?$/,
        loader: 'babel-loader',
        exclude: /node_modules/,
        query: {
          presets: ['env'],
          plugins: [['babel-plugin-transform-jsx', { useVariables: true }]],
        },
      },
      {
        test: /\.(png|jpg|gif)$/,
        loader: "file-loader?name=images/.[ext]"
      }
    ],
  },

  plugins: [
    new HtmlWebpackPlugin({
      inject: false,
      appMountId: 'app',
      title: 'Test Fixture',
      mobile: true,
      template: require('html-webpack-template'),
      links: [],<commit_msg>Including the local jsx in the dev.config.js<commit_after>var webpack = require('webpack');
var path = require('path');

var HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = {
  // for now we set one entry for the main package.json entry
  entry: {
    app: ['./samples/index.js'],
  },

  output: {
    path: path.resolve('./build'),
    filename: 'assets/[name].min.js',
  },

  // resolve files
  // we reference a bunch of files in the build tool
  // command dir is the project path
  resolve: {
    extensions: ['.js', '.css'],
    modules: ['./node_modules'],
  },
  devtool: 'source-map',
  module: {
    loaders: [
      {
        test: /\.json$/,
        loader: 'json-loader',
      },
      {
        test: /.js?$/,
        loader: 'babel-loader',
        exclude: /node_modules/,
        query: {
          presets: ['env'],
          plugins: [[path.resolve('./libs/jsx.js'), { useVariables: true }]],
        },
      },
      {
        test: /\.(png|jpg|gif)$/,
        loader: "file-loader?name=images/.[ext]"
      }
    ],
  },

  plugins: [
    new HtmlWebpackPlugin({
      inject: false,
      appMountId: 'app',
      title: 'Test Fixture',
      mobile: true,
      template: require('html-webpack-template'),
      links: [],
{'fraction_non_alphanumeric': 0.1751592356687898, 'fraction_numerical': 0.0, 'mean_word_length': 2.083435582822086, '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': '2429002', 'n_tokens_mistral': 813, 'n_tokens_neox': 797, 'n_words': 192}