cache: ifNotProduction(), devtool: ifProduction('hidden-source-map', 'cheap-module-eval-source-map'), entry: (0, _webpackConfigUtils.removeEmpty)([ifNotProduction('webpack/hot/poll?1000'), (0, _path.resolve)('./src/server/index.js')]), target: 'node', watch: ifNotProduction(), whitelist: ['webpack/hot/poll?1000'] })], plugins: (0, _webpackConfigUtils.removeEmpty)([new _progressBarWebpackPlugin.default(), new _webpack.default.IgnorePlugin(/\.(scss|css|less)$/), new _webpack.default.NamedModulesPlugin(), ifNotProduction(new _cleanWebpackPlugin.default('./dist/')), ifNotProduction(new _startServerWebpackPlugin.default('server.js')), ifNotProduction(new _webpack.default.HotModuleReplacementPlugin()), ifNotProduction(new _webpack.default.NoEmitOnErrorsPlugin())]) };
filename: 'client.js' }, plugins: (0, _webpackConfigUtils.removeEmpty)([new _progressBarWebpackPlugin.default(), new _webpack.default.EnvironmentPlugin((0, _extractNpmPackageConfig.default)(env)), new _webpack.default.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(ifProduction('production', process.env.NODE_ENV)) }), ifProduction(new _uglifyjsWebpackPlugin.default({
removeEmpty([ ifDevelopment( new webpack.HotModuleReplacementPlugin(),
removeEmpty({ mode: ifProduction('production', 'development'), devtool: ifProduction('source-map', 'cheap-module-eval-source-map'), entry: removeEmpty([ propIf(doHmr, 'webpack-hot-middleware/client'), path.resolve(__dirname, 'src/index.js') plugins: removeEmpty([ propIfNot(doHmr, new CleanWebpackPlugin([ 'public/js', use: removeEmpty([
cache: ifNotProduction(), devtool: ifProduction('hidden-source-map', 'cheap-module-eval-source-map'), entry: (0, _webpackConfigUtils.removeEmpty)([ifNotProduction('webpack/hot/poll?1000'), (0, _path.resolve)('./src/server/index.js')]), target: 'node', watch: ifNotProduction(), whitelist: ['webpack/hot/poll?1000'] })], plugins: (0, _webpackConfigUtils.removeEmpty)([new _progressBarWebpackPlugin.default(), new _webpack.default.IgnorePlugin(/\.(scss|css|less)$/), new _webpack.default.NamedModulesPlugin(), ifNotProduction(new _cleanWebpackPlugin.default('./dist/')), ifNotProduction(new _startServerWebpackPlugin.default('server.js')), ifNotProduction(new _webpack.default.HotModuleReplacementPlugin()), ifNotProduction(new _webpack.default.NoEmitOnErrorsPlugin())]) };
filename: 'client.js' }, plugins: (0, _webpackConfigUtils.removeEmpty)([new _progressBarWebpackPlugin.default(), new _webpack.default.EnvironmentPlugin((0, _extractNpmPackageConfig.default)(env)), new _webpack.default.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify(ifProduction('production', process.env.NODE_ENV)) }), ifProduction(new _uglifyjsWebpackPlugin.default({