From ec34490202752b6567f60c245159be816cfb177d Mon Sep 17 00:00:00 2001 From: huangxuan Date: Tue, 2 Apr 2024 09:51:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(core):=20=E5=AF=BC=E5=87=BAversion?= =?UTF-8?q?=EF=BC=8C=E5=85=BC=E5=AE=B9mobx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/inula/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/inula/src/index.ts b/packages/inula/src/index.ts index 116ab1f2..33a3eaba 100644 --- a/packages/inula/src/index.ts +++ b/packages/inula/src/index.ts @@ -72,6 +72,8 @@ import { import { syncUpdates as flushSync } from './renderer/TreeBuilder'; import { toRaw } from './inulax/proxy/ProxyHandler'; +const version = __VERSION__; + const Inula = { Children, createRef, @@ -122,9 +124,9 @@ const Inula = { Profiler, StrictMode, Suspense, + version, }; -export const version = __VERSION__; export { Children, createRef, @@ -178,6 +180,7 @@ export { Profiler, StrictMode, Suspense, + version, }; export * from './types';