Tidy up index.js

Non-functional changes (before I start messing with it).

Switch to import, move code out of the top level, switch to one
consistent way of declaring functions, keep imports at the top.
This commit is contained in:
David Baker 2018-09-03 13:01:52 +01:00
parent 86b738dd79
commit e2bad5bdc8
2 changed files with 50 additions and 46 deletions

View file

@ -132,6 +132,10 @@ module.exports = {
og_image_url: og_image_url,
},
}),
new HtmlWebpackPlugin({
template: './src/vector/mobile_guide/index.html',
filename: 'mobile_guide/index.html',
}),
],
devtool: 'source-map',