Skip to content

Commit

Permalink
fix bench script
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 7, 2024
1 parent 66a5886 commit ebb01be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/tasks/bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ export const bench: Task = {
const controllers: AbortController[] = [];
try {
const { disableDocs } = options;
// @ts-expect-error Default import required for dynamic import processed by esbuild
const { browse } = (await import('../bench/browse.ts')).default;
// @ts-expect-error Default import required for dynamic import processed by esbuild
const { saveBench, loadBench } = (await import('../bench/utils.ts')).default;
const { browse } = await import('../bench/browse');
const { saveBench, loadBench } = await import('../bench/utils');

const devController = await dev.run(details, { ...options, debug: false });
if (!devController) {
Expand Down

0 comments on commit ebb01be

Please sign in to comment.