Skip to content

Commit b82d0ad

Browse files
committed
Support other plugin file source tags
1 parent ffc803b commit b82d0ad

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

extension/src/shared/parser.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ export function parseURLFromNode(
222222
}
223223
}
224224

225+
if (node.tagName === "SOURCE") {
226+
return (node as HTMLSourceElement).src
227+
}
228+
225229
return ""
226230
}
227231

0 commit comments

Comments
 (0)