<commit_before>const BellOnBundlerErrorPlugin = require('bell-on-bundler-error-plugin')
const HappyPack = require('happypack')
const webpack = require('webpack')

// Configs
const dir = require(`${global.baseDir}/global-dirs`)
const config = require(`${dir.includes}config-settings`)
const paths = require(`${dir.includes}paths`)
const webpackDefaultConfig = require(`${dir.webpack}webpack.config.default`)

const threadPool = HappyPack.ThreadPool({ size: 4 })

const webpackConfig = {
	entry: {
		main: [
			'react-hot-loader/patch',
			`webpack-dev-server/client?${config.getServerUrl()}`,
			'webpack/hot/dev-server',
			`./${paths.root.src}client`,
		],
		tests: [
			'react-hot-loader/patch',
			`webpack-dev-server/client?${config.getServerUrl()}`,
			'webpack/hot/dev-server',
			`./${paths.root.src}tests`,
		],
	},
	externals: {
		'react/addons': true,
		'react/lib/ExecutionEnvironment': true,
		'react/lib/ReactContext': true,
	},
	node: { fs: 'empty' },
	output: {
		filename: '[name].bundle.js',
		chunkFilename: '[id].bundle.js',
		path: '/',
		pathinfo: true,
		publicPath: '/',
	},
	plugins: [
		new webpack.LoaderOptionsPlugin({
			debug: true
		}),
		new webpack.ProgressPlugin((percentage, msg) => {
			!msg.includes('build modules') && console.info(Math.round(percentage * 100), `dev ${msg}`)
		}),
		new webpack.IgnorePlugin(/^\.\/locale$/, [/moment$/]),
		new webpack.WatchIgnorePlugin([
			'./conf/',
			'./includes/',
			'./node_modules/',
			'./services/',
			'./webpack/',
		]),<commit_msg>Fixed dev build console logging more than needed<commit_after>const BellOnBundlerErrorPlugin = require('bell-on-bundler-error-plugin')
const HappyPack = require('happypack')
const webpack = require('webpack')

// Configs
const dir = require(`${global.baseDir}/global-dirs`)
const config = require(`${dir.includes}config-settings`)
const paths = require(`${dir.includes}paths`)
const webpackDefaultConfig = require(`${dir.webpack}webpack.config.default`)

const threadPool = HappyPack.ThreadPool({ size: 4 })

const webpackConfig = {
	entry: {
		main: [
			'react-hot-loader/patch',
			`webpack-dev-server/client?${config.getServerUrl()}`,
			'webpack/hot/dev-server',
			`./${paths.root.src}client`,
		],
		tests: [
			'react-hot-loader/patch',
			`webpack-dev-server/client?${config.getServerUrl()}`,
			'webpack/hot/dev-server',
			`./${paths.root.src}tests`,
		],
	},
	externals: {
		'react/addons': true,
		'react/lib/ExecutionEnvironment': true,
		'react/lib/ReactContext': true,
	},
	node: { fs: 'empty' },
	output: {
		filename: '[name].bundle.js',
		chunkFilename: '[id].bundle.js',
		path: '/',
		pathinfo: true,
		publicPath: '/',
	},
	plugins: [
		new webpack.LoaderOptionsPlugin({
			debug: true
		}),
		new webpack.ProgressPlugin((percentage, msg) => {
			!msg.includes('building modules') && console.info(Math.round(percentage * 100), `dev ${msg}`)
		}),
		new webpack.IgnorePlugin(/^\.\/locale$/, [/moment$/]),
		new webpack.WatchIgnorePlugin([
			'./conf/',
			'./includes/',
			'./node_modules/',
			'./services/',
			'./webpack/',
		]),
{'fraction_non_alphanumeric': 0.2026058631921824, 'fraction_numerical': 0.0026058631921824105, 'mean_word_length': 4.135451505016722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5269741', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1059, 'n_words': 173}