diff --git a/webpack.config.js b/webpack.config.js index d85790429..725aa572b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -125,8 +125,7 @@ module.exports = { }, plugins: [ new VersionPlugin({length: 5}) - ] - .concat(routes + ].concat(routes .filter(function (route) { return !route.redirect; }) @@ -137,8 +136,7 @@ module.exports = { route: route }, templateConfig)); }) - ) - .concat([ + ).concat([ new CopyWebpackPlugin([ {from: 'static'}, {from: 'intl', to: 'js'} @@ -154,11 +152,11 @@ module.exports = { filename: 'js/common.bundle.js' }) ]) - .concat(process.env.NODE_ENV === 'production' ? [ - new webpack.optimize.UglifyJsPlugin({ - compress: { - warnings: false - } - }) - ] : []) + .concat(process.env.NODE_ENV === 'production' ? [ + new webpack.optimize.UglifyJsPlugin({ + compress: { + warnings: false + } + }) + ] : []) };