From b0ff814dc7948618f54e02fbecb375a4b9d256ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alois=20Se=C4=8Dk=C3=A1r?= Date: Fri, 19 Jul 2024 18:51:23 +0200 Subject: [PATCH] build: fix consola imports --- utils/consola.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/consola.ts b/utils/consola.ts index 1ea0e14..2f30775 100644 --- a/utils/consola.ts +++ b/utils/consola.ts @@ -1,8 +1,9 @@ // #215 - centralized logging system // https://github.com/unjs/consola -import type { LogLevel, LogObject } from 'consola' -import { LogLevels, consola, createConsola } from 'consola' +import type { LogLevel, LogObject } from 'consola/core' +import { LogLevels, createConsola } from 'consola/core' +import { consola } from 'consola' // default instance to write into browser's console const defaultReporter = consola