diff --git a/.changeset/gorgeous-kiwis-stare.md b/.changeset/gorgeous-kiwis-stare.md new file mode 100644 index 000000000000..d7129ed884a5 --- /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 c5f045a5fd94..5b8ba3824e82 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;