From d04928e8f20435cf69d1c171523aa152601cfe21 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Tue, 10 May 2022 14:54:01 -0600 Subject: [PATCH] rename dts to ts file (#3332) * rename dts to ts file * Create new-carrots-cough.md * add back missing types --- .changeset/new-carrots-cough.md | 5 +++++ packages/astro/src/core/build/{types.d.ts => types.ts} | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/new-carrots-cough.md rename packages/astro/src/core/build/{types.d.ts => types.ts} (85%) diff --git a/.changeset/new-carrots-cough.md b/.changeset/new-carrots-cough.md new file mode 100644 index 000000000..3855009e9 --- /dev/null +++ b/.changeset/new-carrots-cough.md @@ -0,0 +1,5 @@ +--- +"astro": patch +--- + +Fix an `import from '../core/build/types';` error diff --git a/packages/astro/src/core/build/types.d.ts b/packages/astro/src/core/build/types.ts similarity index 85% rename from packages/astro/src/core/build/types.d.ts rename to packages/astro/src/core/build/types.ts index 30ea53901..0d89c6c30 100644 --- a/packages/astro/src/core/build/types.d.ts +++ b/packages/astro/src/core/build/types.ts @@ -7,9 +7,9 @@ import type { ComponentInstance, SSRLoadedRenderer, } from '../../@types/astro'; -import type { ViteConfigWithSSR } from '../../create-vite'; -import type { LogOptions } from '../../logger'; -import type { RouteCache } from '../../render/route-cache.js'; +import type { LogOptions } from '../logger/core'; +import type { RouteCache } from '../render/route-cache'; +import type { ViteConfigWithSSR } from '../create-vite'; export type ComponentPath = string; export type ViteID = string;