mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
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 { UserConfig } from 'vite';
|
||||||
import type { AstroUserConfig } from '../@types/astro';
|
import type { AstroUserConfig } from '../@types/astro';
|
||||||
import { Logger } from '../core/logger/core';
|
import { Logger } from '../core/logger/core.js';
|
||||||
|
|
||||||
export function defineConfig(config: AstroUserConfig) {
|
export function defineConfig(config: AstroUserConfig) {
|
||||||
return config;
|
return config;
|
||||||
|
|
Loading…
Add table
Reference in a new issue