Skip to content

Commit

Permalink
collapse logs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Apr 28, 2023
1 parent 4a8333e commit ff5963d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/esbuild_plugins/svelte_components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ export const svelte_components = (
try {
document.querySelectorAll(
`one-claw[name='${name}']:not(one-claw one-claw)`,
).forEach((target, i) => {
).forEach((target) => {
const load = performance.now();
console.group(
`Hydrating %c${name}%c (instance #${(i + 1)})`,
console.groupCollapsed(
`Hydrating %c${name}%c`,
"color: orange",
"color: reset",
);
Expand Down

0 comments on commit ff5963d

Please sign in to comment.