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';