refactor(static): refactor static module

This commit is contained in:
2026-07-06 11:52:55 +03:00
parent 820472796b
commit 8f244455ac
14 changed files with 78 additions and 79 deletions

View File

@@ -17,9 +17,6 @@ const config: webpack.Configuration = {
test: /\.tsx?$/,
use: {
loader: "ts-loader",
options: {
transpileOnly: true, // TODO: fix errors
},
},
exclude: /node_modules/,
},
@@ -63,6 +60,10 @@ const config: webpack.Configuration = {
from: "./node_modules/flag-icons/flags/1x1/*.svg",
to: "flag-icons/flags/1x1/[name][ext]",
},
{
from: "./node_modules/flag-icons/flags/4x3/*.svg",
to: "flag-icons/flags/4x3/[name][ext]",
},
],
}),
],