From 762a9e99ce43831c7b9da027de271aaa39f3924b Mon Sep 17 00:00:00 2001 From: edison Date: Tue, 10 May 2022 09:40:19 +0800 Subject: [PATCH] chore(runtime-core): use `getGlobalThis` when installing HMR API (#3217) --- packages/runtime-core/src/hmr.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/runtime-core/src/hmr.ts b/packages/runtime-core/src/hmr.ts index 3c3f5208bc..1ea1dd01bc 100644 --- a/packages/runtime-core/src/hmr.ts +++ b/packages/runtime-core/src/hmr.ts @@ -9,6 +9,7 @@ import { } from './component' import { queueJob, queuePostFlushCb } from './scheduler' import { extend, getGlobalThis } from '@vue/shared' +import { warn } from './warning' type HMRComponent = ComponentOptions | ClassComponent -- 2.39.5