Move html plugin back before favicons.

This commit is contained in:
Dillon Kearns 2019-08-19 18:01:35 -07:00
parent 2fd8320451
commit e2e81803b8

View File

@ -119,6 +119,10 @@ function webpackOptions(
}
]
}),
new HTMLWebpackPlugin({
inject: "head",
template: path.resolve(__dirname, "template.html")
}),
new FaviconsWebpackPlugin({
logo: path.resolve(process.cwd(), `./${manifestConfig.sourceIcon}`),
favicons: {
@ -162,12 +166,6 @@ function webpackOptions(
yandex: false // Create Yandex browser icon. `boolean` or `{ offset, background, mask, overlayGlow, overlayShadow }`
}
}
}),
new HTMLWebpackPlugin({
inject: "head",
// template: require.resolve("./template.html")
// template: require.resolve(path.resolve(__dirname, "template.html"))
template: path.resolve(__dirname, "template.html")
})
],
output: {