summaryrefslogtreecommitdiff
path: root/benchmark/packages/timer/src/preview.ts
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-07-18 02:17:59 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-18 02:17:59 +0200
commitf14e48098a3bc74d85715b5610dbba588d4943cd (patch)
tree11284e8456c5f7f52fd37d1ad6f488133e883db9 /benchmark/packages/timer/src/preview.ts
parentcc0f81c040e912cff0c09e89327ef1655f96b67d (diff)
downloadastro-f14e48098a3bc74d85715b5610dbba588d4943cd.tar.gz
astro-f14e48098a3bc74d85715b5610dbba588d4943cd.tar.zst
astro-f14e48098a3bc74d85715b5610dbba588d4943cd.zip
nit: use `node:` prefix everywhere (#7692)
* nit: use `node:` prefix everywhere * nit: fs/promises too * test: workaround issue in node builtin detection
Diffstat (limited to 'benchmark/packages/timer/src/preview.ts')
-rw-r--r--benchmark/packages/timer/src/preview.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/packages/timer/src/preview.ts b/benchmark/packages/timer/src/preview.ts
index 1208830dd..4ee43ebd0 100644
--- a/benchmark/packages/timer/src/preview.ts
+++ b/benchmark/packages/timer/src/preview.ts
@@ -1,5 +1,5 @@
import type { CreatePreviewServer } from 'astro';
-import { createServer } from 'http';
+import { createServer } from 'node:http';
import enableDestroy from 'server-destroy';
const preview: CreatePreviewServer = async function ({ serverEntrypoint, host, port }) {