frontend: fix folder.svg usage

This commit is contained in:
2025-10-17 23:14:44 +02:00
parent 24c0b5fa52
commit fc4aae8c0c
9 changed files with 764 additions and 30 deletions
+10
View File
@@ -29,6 +29,16 @@ module.exports = {
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
},
{
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
},
{
test: /\.svg$/i,
type: 'asset/resource',
issuer: { not: [/\.[jt]sx?$/] },
},
],
},
plugins: [