Skip to content

Commit

Permalink
fix: add @vue/reactivity for plugin itself
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Mar 2, 2024
1 parent c2fcb37 commit cff40ca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
}
},
"dependencies": {
"@vue/reactivity": "^3.4.21",
"debug": "^4.3.4",
"unplugin": "~1.7.1",
"vite": "^5.1.3"
Expand All @@ -110,7 +111,6 @@
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "1.3.0",
"vue": "^3.4.19",
"webpack": "^5.90.3"
},
"engines": {
Expand Down
19 changes: 16 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
type UnpluginContextMeta,
createUnplugin,
} from 'unplugin'
import { computed, shallowRef } from 'vue'
import { computed, shallowRef } from '@vue/reactivity'
import { resolveCompiler } from '../core/compiler'
import { getResolvedScript, typeDepToSFCMap } from '../core/script'
import { transformMain } from '../core/main'
Expand Down

0 comments on commit cff40ca

Please sign in to comment.