Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
joshamaju committed Nov 2, 2024
1 parent 92af4b4 commit 91b0098
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions integrations/island/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ export async function makeIsland(
// @ts-expect-error
walk(ast.html, {
enter(node) {
// console.log(inspect(node, false, Infinity));

// @ts-expect-error
visit(node, (node) => {
const node_: Element = node as any;
Expand All @@ -139,16 +137,12 @@ export async function makeIsland(
const first = node_.children?.[0];
const last = node_.children?.[node_.children.length - 1];

// console.log(node_.children);

if (first && last) {
head = {
end: node_.end,
start: node_.start,
content: { start: first.start, end: last.end },
};

// console.log(ms.slice(first.start, last.end));
}
}

Expand Down

0 comments on commit 91b0098

Please sign in to comment.