Fix crash when using an inline svg Icon (#5450)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-05-26 09:46:50 -04:00
1 parent c8cf300e9b
commit 41d4daded7
3 files changed
+90 -12

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)$/,