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 c645a3b commit 936e54dCopy full SHA for 936e54d
plugins/inline.ts
@@ -174,13 +174,11 @@ 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