Skip to content

Commit

Permalink
show debug info in render
Browse files Browse the repository at this point in the history
  • Loading branch information
yysun committed Sep 14, 2024
1 parent d7ffb52 commit 94b1385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default async (path, output, port) => {
next_element = new_next_element;
el = new_el;
} else {
warn('Element not found:', new_next_element);
// warn('Element not found:', new_next_element);
}
}
};
Expand All @@ -57,7 +57,7 @@ export default async (path, output, port) => {
if (routes.length > 1) continue; // skip /index.js
}

// debug(route_path, ' => ' + next_element);
debug(route_path, ' => ' + next_element);

const js_index = `${output}${route_path}/index.js`;
const js_file = `${output}${route_path}.js`;
Expand Down

0 comments on commit 94b1385

Please sign in to comment.