Skip to content

Commit

Permalink
fix: add consola/core alias (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Aug 16, 2023
1 parent 00361fb commit 96cf2f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rollup/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" }),
Expand Down

0 comments on commit 96cf2f8

Please sign in to comment.