mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix crash when using an inline svg Icon
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
58ffb38d74
commit
4a6fe3b55d
3 files changed
+68
-11
No files matched your search
+1
-1
@@ -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)$/,
|
||||
|
||||
Reference in new issue
Block a user