Skip to content

Commit

Permalink
feat: support SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
lizyChy0329 committed Oct 11, 2024
1 parent 0bb5939 commit ff23e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function resolveImages(dUri: Uri, webview: Webview): Promise<{
basename: string
extname: string
}[]> {
const IMAGE_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.gif', '.webp', '.bmp', '.tiff']
const IMAGE_EXTENSIONS = ['.jpg', '.jpeg', '.png', '.gif', '.webp', '.bmp', '.tiff','.svg']
// const EXCLUDE_DIR = ['node_modules']

const dataList = [];
Expand Down

0 comments on commit ff23e6d

Please sign in to comment.