2
0
Эх сурвалжийг харах

chore(runtime-core): mark emptyAppContext initialization as pure

daiwei 4 сар өмнө
parent
commit
4ef0bc7e36

+ 1 - 1
packages/runtime-core/src/component.ts

@@ -722,7 +722,7 @@ export interface ComponentInternalInstance extends GenericComponentInstance {
   resolvedOptions?: MergedComponentOptions
 }
 
-const emptyAppContext = createAppContext()
+const emptyAppContext = /*@__PURE__*/ createAppContext()
 
 let uid = 0