From efe109067eca6b1c0aabb3a91af0eed8e837afeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Mon, 24 Oct 2016 14:37:30 +0100 Subject: [PATCH] fix "base.config.concat is not a function" --- frontend/webpack/production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/webpack/production.js b/frontend/webpack/production.js index 688eece7..94a94ff3 100644 --- a/frontend/webpack/production.js +++ b/frontend/webpack/production.js @@ -5,7 +5,7 @@ module.exports = Object.assign(base.config, { entry: [ './index.js' ], - plugins: base.config.concat([ + plugins: base.config.plugins.concat([ new webpack.optimize.DedupePlugin(), new webpack.optimize.OccurrenceOrderPlugin(true), new webpack.optimize.UglifyJsPlugin()