This commit is contained in:
Jori Lallo
2016-04-28 22:25:37 -07:00
parent 2f9233222d
commit cce82b3d43
79 changed files with 1495 additions and 496 deletions

View File

@ -1,17 +1,19 @@
var path = require('path');
var webpack = require('webpack');
commonWebpackConfig = require('./webpack.config');
const commonWebpackConfig = require('./webpack.config');
developmentWebpackConfig = Object.assign(commonWebpackConfig, {
const developmentWebpackConfig = Object.assign(commonWebpackConfig, {
cache: true,
devtool: 'eval',
entry: [
'babel-polyfill',
'webpack-hot-middleware/client',
'./src/index',
],
});
developmentWebpackConfig.plugins.push(new webpack.optimize.OccurenceOrderPlugin());
developmentWebpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
developmentWebpackConfig.plugins.push(new webpack.NoErrorsPlugin());