const common = {
...
plugins: {
new HtmlWebpackPlugin({
template: HtmlWebpackTemplate,
title: 'Demo app'
appMountId: 'app', // Generate #app where to mount
mobile: true, // Scale page on mobile
inject: false, // html-webpack-template requires this to work
}),
},
};
A comma is missing after title and the plugins hash is missing a key corresponding to the value for HtmlWebpackPlugin.
This snippet:
A comma is missing after
title
and theplugins
hash is missing a key corresponding to the value forHtmlWebpackPlugin
.