Сборка нескольких html страниц

This commit is contained in:
grinikita
2025-04-10 21:50:49 +03:00
parent e53ae4858d
commit f31f40ad3e
4 changed files with 16 additions and 29 deletions
+10 -1
View File
@@ -23,7 +23,16 @@ module.exports = {
},
plugins: [
new HtmlWebpackPlugin({
template: "./src/index.hbs"
template: "./src/index.hbs",
filename: "index.html"
}),
new HtmlWebpackPlugin({
template: "./src/creators.hbs",
filename: "creators.html"
}),
new HtmlWebpackPlugin({
template: "./src/discover.hbs",
filename: "discover.html"
}),
new CopyPlugin({
patterns: [