Skip to content

Commit bcba2d1

Browse files
authored
fix(preset-umi): remove globalThis in terminal api for old browser compatibility (#10179)
1 parent 6018165 commit bcba2d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/preset-umi/src/features/terminal/terminal.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export default (api: IApi) => {
1818
path: 'core/terminal.ts',
1919
noPluginDir: true,
2020
content: `
21-
const console = globalThis.console;
2221
let count = 0;
2322
let groupLevel = 0;
2423
function send(type: string, message?: string) {

0 commit comments

Comments
 (0)