Skip to content
Snippets Groups Projects

fix(svg config): use svg as image when add ?url to the path in the import

Merged mateuszmiko requested to merge bug/display_svg_url into development
6 files
+ 37
17
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 5
0
@@ -15,6 +15,11 @@ declare module '*.svg' {
export default content;
}
declare module '*.svg?url' {
const content: any;
export default content;
}
declare module '*.jpg' {
const content: StaticImageData;
export default content;
Loading