mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Fix linting
Something is off with our indentation rules. Possibly a bug in the version of eslint we're using?
This commit is contained in:
parent
a66a0f02e5
commit
aee9f0c608
1 changed files with 9 additions and 11 deletions
|
@ -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
|
||||
}
|
||||
})
|
||||
] : [])
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue