From 96cf2f86145065ade01c8d7a5c87fe27bacd8024 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 16 Aug 2023 13:09:57 +0200 Subject: [PATCH] fix: add `consola/core` alias (#1591) --- src/rollup/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rollup/config.ts b/src/rollup/config.ts index 6bab88b662..636b0dcebb 100644 --- a/src/rollup/config.ts +++ b/src/rollup/config.ts @@ -48,6 +48,7 @@ export const getRollupConfig = (nitro: Nitro): RollupConfig => { const builtinPreset: Preset = { alias: { // General + "consola/core": "consola/core", consola: "unenv/runtime/npm/consola", // only mock debug in production ...(nitro.options.dev ? {} : { debug: "unenv/runtime/npm/debug" }),