Skip to content

Commit

Permalink
fix: add global.consola
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 13, 2018
1 parent 0b171fc commit 558cae5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ if (!consola) {
}

Object.assign(consola, { Consola }, Reporters)

global.consola = consola
}

export default consola

0 comments on commit 558cae5

Please sign in to comment.