mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: raw-loader / <Icon svg="./*">, updated mocked types for importing resources via webpack
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
f7a53e6c6b
commit
cae184883b
6 files changed
+27
-12
No files matched your search
Vendored
+13
-3
@@ -25,7 +25,17 @@ declare module "*.scss" {
|
||||
const content: string;
|
||||
export = content;
|
||||
}
|
||||
declare module "*.ttf" {
|
||||
const content: string;
|
||||
export = content;
|
||||
|
||||
// Declare everything what's bundled as webpack's type="asset/resource"
|
||||
declare module "*.svg?raw" {
|
||||
export = "";
|
||||
}
|
||||
declare module "*.svg" {
|
||||
export = "";
|
||||
}
|
||||
declare module "*.jpg";
|
||||
declare module "*.png";
|
||||
declare module "*.eot";
|
||||
declare module "*.woff";
|
||||
declare module "*.woff2";
|
||||
declare module "*.ttf";
|
||||
Reference in new issue
Block a user