<commit_before>const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const nodeExternals = require('webpack-node-externals');

module.exports = [
  {
    name: 'client',
    context: __dirname,
    entry: ['webpack-hot-middleware/client?reload=true', './src/client'],
    output: {
      filename: '[name].js',
      path: path.join(__dirname, 'dist'),
      publicPath: '/',
    },
    resolve: {
      extensions: ['.js', '.jsx'],
      alias: {
        react: path.join(__dirname, '..', 'node_modules', 'react'),
        'react-redux': path.join(
          __dirname,
          '..',
          'node_modules',
          'react-redux',
          'es',
        ),
        '@redux-requests/core': path.join(
          __dirname,
          '..',
          '..',
          'packages',
          'redux-requests',
          'es',
        ),
        '@redux-requests/react': path.join(
          __dirname,
          '..',
          '..',
          'packages',
          'redux-requests-react',
          'es',
        ),
        '@redux-requests/axios': path.join(
          __dirname,
          '..',
          '..',
          'packages',
          'redux-requests-axios',
          'es',
        ),
      },
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          exclude: /node_modules/,
          loader: 'babel-loader',
        },
      ],
    },
    devtool: 'eval-source-map',
    mode: 'development',
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new HtmlWebpackPlugin({
        filename: path.join(__dirname, 'dist', 'index.hbs'),
        template: path.join(__dirname, 'src', 'index.hbs'),
      }),
    ],
  },
  {
    name: 'server',
    context: __dirname,
    target: 'node',<commit_msg>Removed dev aliases from suspense ssr example<commit_after>const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const nodeExternals = require('webpack-node-externals');

module.exports = [
  {
    name: 'client',
    context: __dirname,
    entry: ['webpack-hot-middleware/client?reload=true', './src/client'],
    output: {
      filename: '[name].js',
      path: path.join(__dirname, 'dist'),
      publicPath: '/',
    },
    resolve: {
      extensions: ['.js', '.jsx'],
    },
    module: {
      rules: [
        {
          test: /\.jsx?$/,
          exclude: /node_modules/,
          loader: 'babel-loader',
        },
      ],
    },
    devtool: 'eval-source-map',
    mode: 'development',
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new HtmlWebpackPlugin({
        filename: path.join(__dirname, 'dist', 'index.hbs'),
        template: path.join(__dirname, 'src', 'index.hbs'),
      }),
    ],
  },
  {
    name: 'server',
    context: __dirname,
    target: 'node',
{'fraction_non_alphanumeric': 0.17588113337940567, 'fraction_numerical': 0.0, 'mean_word_length': 1.895, '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': '3418681', 'n_tokens_mistral': 903, 'n_tokens_neox': 897, 'n_words': 158}