mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: loading svg icons inline as data-url (workaround for "?raw" as it fails in tests and "!!raw-loader!" seems doesn't work at all in webpack@5)
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
ad31d3e8a2
commit
98b516f290
7 files changed
+38
-42
No files matched your search
Vendored
+1
-6
@@ -27,12 +27,7 @@ declare module "*.scss" {
|
||||
}
|
||||
|
||||
// Declare everything what's bundled as webpack's type="asset/resource"
|
||||
declare module "*.svg?raw" {
|
||||
export = "";
|
||||
}
|
||||
declare module "*.svg" {
|
||||
export = "";
|
||||
}
|
||||
declare module "*.svg";
|
||||
declare module "*.jpg";
|
||||
declare module "*.png";
|
||||
declare module "*.eot";
|
||||
|
||||
Reference in new issue
Block a user