var webpackMerge = require('webpack-merge');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var commonConfig = require('./webpack.common.js');
var util = require('./util');

module.exports = webpackMerge(commonConfig, {
	//devtool: 'cheap-module-eval-source-map',

	debug: true,

	output: {
		path: util.root('dist'),
		publicPath: 'http://localhost:8080/',
		filename: '[name].js',
		chunkFilename: '[id].chunk.js'
	},

	plugins: [
		new ExtractTextPlugin('[name].css')
	],

	devServer: {
		historyApiFallback: true,
		stats: 'minimal'
	}
});

@@ -231,18 +231,16 @@
 fig, %7B%0A%09
-//
 devtool:
@@ -277,23 +277,8 @@
 ',%0A%0A
-%09debug: true,%0A%0A
 %09out
@@ -347,11 +347,11 @@
 ost:
-808
+420
 0/',
@@ -529,16 +529,30 @@
 minimal'
+,%0A%09%09port: 4200
 %0A%09%7D%0A%7D);%0A

change default port for dev server to 4200