From a824863ab1c451f4068eac54f28dd240573e1cba Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Fri, 25 Aug 2023 14:06:53 -0400 Subject: [PATCH] Use .js to import logger' (#8232) --- .changeset/gorgeous-kiwis-stare.md | 5 +++++ packages/astro/src/config/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/gorgeous-kiwis-stare.md diff --git a/.changeset/gorgeous-kiwis-stare.md b/.changeset/gorgeous-kiwis-stare.md new file mode 100644 index 000000000..d7129ed88 --- /dev/null +++ b/.changeset/gorgeous-kiwis-stare.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Use .js to import logger diff --git a/packages/astro/src/config/index.ts b/packages/astro/src/config/index.ts index c5f045a5f..5b8ba3824 100644 --- a/packages/astro/src/config/index.ts +++ b/packages/astro/src/config/index.ts @@ -1,6 +1,6 @@ import type { UserConfig } from 'vite'; import type { AstroUserConfig } from '../@types/astro'; -import { Logger } from '../core/logger/core'; +import { Logger } from '../core/logger/core.js'; export function defineConfig(config: AstroUserConfig) { return config;