feat(static): add favicon
test / test (push) Successful in 1m19s

This commit is contained in:
2026-10-05 19:31:08 +03:00
parent 160e1f9156
commit f9e810049d
3 changed files with 9 additions and 1 deletions
+8
View File
@@ -56,14 +56,17 @@ const config: webpack.Configuration = {
new MiniCssExtractPlugin({ filename: `${packageInfo.name}.css` }),
new CopyPlugin({
patterns: [
// weather icons
{
from: "./src/lib/weather-icons/icons/*.svg",
to: "weather-icons/icons/[name][ext]",
},
// bootstrap icons
{
from: "./node_modules/bootstrap-icons/icons/*.svg",
to: "bootstrap-icons/icons/[name][ext]",
},
// flag icons
{
from: "./node_modules/flag-icons/flags/1x1/*.svg",
to: "flag-icons/flags/1x1/[name][ext]",
@@ -72,6 +75,11 @@ const config: webpack.Configuration = {
from: "./node_modules/flag-icons/flags/4x3/*.svg",
to: "flag-icons/flags/4x3/[name][ext]",
},
// favicon
{
from: "./src/favicon.ico",
to: "favicon.ico",
},
],
}),
],