diff --git a/src/index.ts b/src/index.ts index 10cc9e0..99de87c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ export { createApp } from './app' export { nextTick } from './scheduler' export { reactive } from '@vue/reactivity' +export { version } from '../package.json' import { createApp } from './app' diff --git a/tsconfig.json b/tsconfig.json index ca9c7c8..5f4e177 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,9 +11,8 @@ "strict": true, "noUnusedLocals": true, "rootDir": ".", - "types": ["vite/client"] + "types": ["vite/client"], + "resolveJsonModule": true }, - "include": [ - "src" - ] + "include": ["src"] }