Merge pull request #1340 from LiFaytheGoblin/fix_issue/gh-1188_browser_to_display_Scratch_Conference

Fix issue/gh 1188 changes to routes.json to make browser tab show correct conference page title
This commit is contained in:
Matthew Taylor 2017-06-19 10:45:49 -04:00 committed by GitHub
commit 6e995eb65d

View file

@ -105,11 +105,11 @@ module.exports = {
].concat(routes
.filter(function (route) {return !route.redirect;})
.map(function (route) {
return new HtmlWebpackPlugin(defaults({}, require('./src/template-config.js'), {
return new HtmlWebpackPlugin(defaults({}, {
title: route.title,
filename: route.name + '.html',
route: route
}));
}, require('./src/template-config.js')));
})
).concat([
new CopyWebpackPlugin([