From b3ad03bbb0f29a377a60322e85bc0b03f00f34ab Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 15 Dec 2021 10:26:38 -0500 Subject: [PATCH] Fix types --- packages/astro/src/core/build/index.ts | 1 - packages/astro/src/core/build/page-data.ts | 2 +- packages/astro/src/core/build/scan-based-build.ts | 3 +-- packages/astro/src/core/build/static-build.ts | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/astro/src/core/build/index.ts b/packages/astro/src/core/build/index.ts index 353313c75..2bbe3326a 100644 --- a/packages/astro/src/core/build/index.ts +++ b/packages/astro/src/core/build/index.ts @@ -1,6 +1,5 @@ import type { AstroConfig, ManifestData, RouteCache } from '../../@types/astro'; import type { LogOptions } from '../logger'; -import type { PageBuildData } from './types'; import fs from 'fs'; import * as colors from 'kleur/colors'; diff --git a/packages/astro/src/core/build/page-data.ts b/packages/astro/src/core/build/page-data.ts index b99b96007..aa6247537 100644 --- a/packages/astro/src/core/build/page-data.ts +++ b/packages/astro/src/core/build/page-data.ts @@ -1,7 +1,7 @@ import type { AstroConfig, ComponentInstance, GetStaticPathsResult, ManifestData, RouteCache, RouteData, RSSResult } from '../../@types/astro'; import type { AllPagesData } from './types'; import type { LogOptions } from '../logger'; -import type { ViteDevServer } from 'vite'; +import type { ViteDevServer } from '../vite.js'; import { fileURLToPath } from 'url'; import * as colors from 'kleur/colors'; diff --git a/packages/astro/src/core/build/scan-based-build.ts b/packages/astro/src/core/build/scan-based-build.ts index 8374f0e0d..7bb787758 100644 --- a/packages/astro/src/core/build/scan-based-build.ts +++ b/packages/astro/src/core/build/scan-based-build.ts @@ -1,5 +1,4 @@ -import type { RenderedChunk } from 'rollup'; -import type { ViteDevServer } from 'vite'; +import type { ViteDevServer } from '../vite.js'; import type { AstroConfig, RouteCache } from '../../@types/astro'; import type { AllPagesData } from './types'; import type { LogOptions } from '../logger'; diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index 29e349f8e..c0fc78ff1 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -1,5 +1,5 @@ import type { OutputChunk, PreRenderedChunk, RollupOutput } from 'rollup'; -import type { Plugin as VitePlugin, ViteDevServer } from '../vite'; +import type { Plugin as VitePlugin } from '../vite'; import type { AstroConfig, RouteCache } from '../../@types/astro'; import type { AllPagesData } from './types'; import type { LogOptions } from '../logger';