Commit aee9f0c6 authored by Ray Schamp's avatar Ray Schamp

Fix linting

Something is off with our indentation rules. Possibly a bug in the version of eslint we're using?
parent a66a0f02
...@@ -125,8 +125,7 @@ module.exports = { ...@@ -125,8 +125,7 @@ module.exports = {
}, },
plugins: [ plugins: [
new VersionPlugin({length: 5}) new VersionPlugin({length: 5})
] ].concat(routes
.concat(routes
.filter(function (route) { .filter(function (route) {
return !route.redirect; return !route.redirect;
}) })
...@@ -137,8 +136,7 @@ module.exports = { ...@@ -137,8 +136,7 @@ module.exports = {
route: route route: route
}, templateConfig)); }, templateConfig));
}) })
) ).concat([
.concat([
new CopyWebpackPlugin([ new CopyWebpackPlugin([
{from: 'static'}, {from: 'static'},
{from: 'intl', to: 'js'} {from: 'intl', to: 'js'}
...@@ -154,11 +152,11 @@ module.exports = { ...@@ -154,11 +152,11 @@ module.exports = {
filename: 'js/common.bundle.js' filename: 'js/common.bundle.js'
}) })
]) ])
.concat(process.env.NODE_ENV === 'production' ? [ .concat(process.env.NODE_ENV === 'production' ? [
new webpack.optimize.UglifyJsPlugin({ new webpack.optimize.UglifyJsPlugin({
compress: { compress: {
warnings: false warnings: false
} }
}) })
] : []) ] : [])
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment