<commit_before>const webpack = require('webpack');
const path = require('path');
const lodash = require('lodash');

const infernoBabelConfig = getBabelConfig();
infernoBabelConfig.plugins.push('inferno');

const preactBabelConfig = getBabelConfig();
preactBabelConfig.presets.splice(0, 1);
preactBabelConfig.plugins.push(['transform-react-jsx', {pragma: 'h'}])

module.exports = {
  entry: __dirname + '/src/single-spa-examples.js',
  output: {
    path: process.cwd() + '/build',
    filename: '[name].js',
    publicPath: '/build/',
  },
  devtool: 'inline-source-map',
  devServer: {
    port: 8080,
    publicPath: '/build/',
    contentBase: './',
  },
  resolve: {
    modules: [
      "node_modules",
      path.resolve(__dirname, "./"),
    ],
    alias: {
      'single-spa': path.resolve(__dirname, 'node_modules/single-spa/lib/single-spa.js'),
    },
  },
  module: {
    rules: [
      {
        test: /\.css$/,
        use: ['style-loader', 'css-loader']
      },
      {
        test: /inferno\/.+\.js$/,
        loader: 'babel-loader',
        query: infernoBabelConfig,
      },
      {
        test: /preact\/.+\.js$/,
        loader: 'babel-loader',
        query: preactBabelConfig,
      },
      {
        test: /\.html$/,<commit_msg>one more windows compatibility thing<commit_after>const webpack = require('webpack');
const path = require('path');
const lodash = require('lodash');

const infernoBabelConfig = getBabelConfig();
infernoBabelConfig.plugins.push('inferno');

const preactBabelConfig = getBabelConfig();
preactBabelConfig.presets.splice(0, 1);
preactBabelConfig.plugins.push(['transform-react-jsx', {pragma: 'h'}])

module.exports = {
  entry: __dirname + '/src/single-spa-examples.js',
  output: {
    path: process.cwd() + '/build',
    filename: '[name].js',
    publicPath: '/build/',
  },
  devtool: 'inline-source-map',
  devServer: {
    port: 8080,
    publicPath: '/build/',
    contentBase: './',
  },
  resolve: {
    modules: [
      "node_modules",
      path.resolve(__dirname, "./"),
    ],
    alias: {
      'single-spa': path.resolve(__dirname, 'node_modules/single-spa/lib/single-spa.js'),
    },
  },
  module: {
    rules: [
      {
        test: /\.css$/,
        use: ['style-loader', 'css-loader']
      },
      {
        test: /inferno.+\.js$/,
        loader: 'babel-loader',
        query: infernoBabelConfig,
      },
      {
        test: /preact.+\.js$/,
        loader: 'babel-loader',
        query: preactBabelConfig,
      },
      {
        test: /\.html$/,
{'fraction_non_alphanumeric': 0.18505338078291814, 'fraction_numerical': 0.004744958481613286, 'mean_word_length': 2.5285913528591353, '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': '1309481', 'n_tokens_mistral': 889, 'n_tokens_neox': 862, 'n_words': 143}