summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-01-09 17:16:20 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-01-09 17:16:20 +0000
commit9bb08bfe8c400d468de454c69810e18794263439 (patch)
tree7e90f0753434ffdc7739fa703ad9022ef459d0d1
parent302e0ef8f5d5232e3348afe680e599f3e537b5c5 (diff)
downloadastro-9bb08bfe8c400d468de454c69810e18794263439.tar.gz
astro-9bb08bfe8c400d468de454c69810e18794263439.tar.zst
astro-9bb08bfe8c400d468de454c69810e18794263439.zip
[ci] format
-rw-r--r--packages/astro/src/core/preview/static-preview-server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/preview/static-preview-server.ts b/packages/astro/src/core/preview/static-preview-server.ts
index 8f5a88103..0103ea74e 100644
--- a/packages/astro/src/core/preview/static-preview-server.ts
+++ b/packages/astro/src/core/preview/static-preview-server.ts
@@ -1,5 +1,6 @@
import http from 'http';
import { performance } from 'perf_hooks';
+import enableDestroy from 'server-destroy';
import { fileURLToPath } from 'url';
import { preview, type PreviewServer as VitePreviewServer } from 'vite';
import type { AstroSettings } from '../../@types/astro';
@@ -8,7 +9,6 @@ import { error, info } from '../logger/core.js';
import * as msg from '../messages.js';
import { getResolvedHostForHttpServer } from './util.js';
import { vitePluginAstroPreview } from './vite-plugin-astro-preview.js';
-import enableDestroy from 'server-destroy';
export interface PreviewServer {
host?: string;