Skip to content

Commit cff40ca

Browse files
committed
fix: add @vue/reactivity for plugin itself
1 parent c2fcb37 commit cff40ca

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
}
8585
},
8686
"dependencies": {
87+
"@vue/reactivity": "^3.4.21",
8788
"debug": "^4.3.4",
8889
"unplugin": "~1.7.1",
8990
"vite": "^5.1.3"
@@ -110,7 +111,6 @@
110111
"tsup": "^8.0.2",
111112
"typescript": "^5.3.3",
112113
"vitest": "1.3.0",
113-
"vue": "^3.4.19",
114114
"webpack": "^5.90.3"
115115
},
116116
"engines": {

pnpm-lock.yaml

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
type UnpluginContextMeta,
77
createUnplugin,
88
} from 'unplugin'
9-
import { computed, shallowRef } from 'vue'
9+
import { computed, shallowRef } from '@vue/reactivity'
1010
import { resolveCompiler } from '../core/compiler'
1111
import { getResolvedScript, typeDepToSFCMap } from '../core/script'
1212
import { transformMain } from '../core/main'

0 commit comments

Comments
 (0)