We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a0674 commit c645a3bCopy full SHA for c645a3b
plugins/inline.ts
@@ -174,11 +174,13 @@ export function inline(userOptions?: Options) {
174
175
try {
176
if (ext === ".svg") {
177
+ console.log({ path });
178
const content = await getContent(path);
179
+ console.log({ content });
180
const div = element.ownerDocument!.createElement("div");
181
div.innerHTML = content;
182
const svg = div.firstElementChild;
-
183
+ console.log({ svg });
184
if (svg) {
185
const width = parseInt(element.getAttribute("width") || "0");
186
const height = parseInt(element.getAttribute("height") || "0");
0 commit comments