Skip to content

Commit 558cae5

Browse files
committed
fix: add global.consola
1 parent 0b171fc commit 558cae5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ if (!consola) {
1919
}
2020

2121
Object.assign(consola, { Consola }, Reporters)
22+
23+
global.consola = consola
2224
}
2325

2426
export default consola

0 commit comments

Comments
 (0)