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:
Roman committed 2022-02-01 18:41:59 +02:00
1 parent ad31d3e8a2
commit 98b516f290
7 files changed
+38 -42

No files matched your search

+1 -6
View File
@@ -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";