Fix crash when using an inline svg Icon

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-05-25 15:42:59 -04:00
1 parent 58ffb38d74
commit 4a6fe3b55d
3 files changed
+68 -11

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ export function iconsAndImagesWebpackRules(): webpack.RuleSetRule[] {
return [
{
test: /\.svg$/,
type: "asset/inline", // data:image/svg+xml;base64,...
type: "asset/source", // exports the source code of the asset, so we get XML
},
{
test: /\.(jpg|png|ico)$/,