refactor(static): refactor static module
This commit is contained in:
@@ -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]",
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user