mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-30 23:06:10 +03:00
Load Html plugin after favicons plugin.
This commit is contained in:
parent
db33e9463a
commit
2fd8320451
@ -80,12 +80,6 @@ function webpackOptions(
|
||||
entry: { hello: "./index.js" },
|
||||
mode: production ? "production" : "development",
|
||||
plugins: [
|
||||
new HTMLWebpackPlugin({
|
||||
inject: "head",
|
||||
// template: require.resolve("./template.html")
|
||||
// template: require.resolve(path.resolve(__dirname, "template.html"))
|
||||
template: path.resolve(__dirname, "template.html")
|
||||
}),
|
||||
new CopyPlugin([
|
||||
{
|
||||
from: "static/**/*",
|
||||
@ -168,6 +162,12 @@ 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: {
|
||||
|
Loading…
Reference in New Issue
Block a user