Use .js to import logger' (#8232)
This commit is contained in:
parent
cd69aa7347
commit
a824863ab1
2 changed files with 6 additions and 1 deletions
5
.changeset/gorgeous-kiwis-stare.md
Normal file
5
.changeset/gorgeous-kiwis-stare.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Use .js to import logger
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue