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

config.output = {
  path: './dist/',
  publicPath: '/',
  filename: '[name].bundle.js'
};
config.devServer = {
  contentBase: 'dist'
};
config.plugins.push(
  new webpack.HotModuleReplacementPlugin()
);

module.exports = config;<commit_msg>Add client-side routing support to dev server<commit_after>var path = require('path');
var webpack = require('webpack');
var config = require('./webpack.config');

config.output = {
  path: './dist/',
  publicPath: '/',
  filename: '[name].bundle.js'
};
config.devServer = {
  contentBase: 'dist',
  historyApiFallback: true
};
config.plugins.push(
  new webpack.HotModuleReplacementPlugin()
);

module.exports = config;
{'fraction_non_alphanumeric': 0.17564102564102563, 'fraction_numerical': 0.0, 'mean_word_length': 4.8283582089552235, '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': '6306059', 'n_tokens_mistral': 248, 'n_tokens_neox': 245, 'n_words': 53}