Skip to content

Commit c645a3b

Browse files
committed
debug
1 parent 88a0674 commit c645a3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/inline.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,13 @@ export function inline(userOptions?: Options) {
174174

175175
try {
176176
if (ext === ".svg") {
177+
console.log({ path });
177178
const content = await getContent(path);
179+
console.log({ content });
178180
const div = element.ownerDocument!.createElement("div");
179181
div.innerHTML = content;
180182
const svg = div.firstElementChild;
181-
183+
console.log({ svg });
182184
if (svg) {
183185
const width = parseInt(element.getAttribute("width") || "0");
184186
const height = parseInt(element.getAttribute("height") || "0");

0 commit comments

Comments
 (0)