summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/new-carrots-cough.md5
-rw-r--r--packages/astro/src/core/build/types.ts (renamed from packages/astro/src/core/build/types.d.ts)6
2 files changed, 8 insertions, 3 deletions
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
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;