diff options
author | 2023-01-09 17:16:20 +0000 | |
---|---|---|
committer | 2023-01-09 17:16:20 +0000 | |
commit | 9bb08bfe8c400d468de454c69810e18794263439 (patch) | |
tree | 7e90f0753434ffdc7739fa703ad9022ef459d0d1 | |
parent | 302e0ef8f5d5232e3348afe680e599f3e537b5c5 (diff) | |
download | astro-9bb08bfe8c400d468de454c69810e18794263439.tar.gz astro-9bb08bfe8c400d468de454c69810e18794263439.tar.zst astro-9bb08bfe8c400d468de454c69810e18794263439.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/preview/static-preview-server.ts | 2 |
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; |