Closed sagargurtu closed 1 year ago
TypeScript throws error when vitepress-plugin-search@^1.0.4-alpha.18 is used with vitepress@^1.0.0-alpha.64.
vitepress-plugin-search@^1.0.4-alpha.18
vitepress@^1.0.0-alpha.64
vitepress-plugin-search should be compatible with new non-major versions of vitepress.
vitepress-plugin-search
vitepress
Remove build dependency on vitepress (link) and only maintain its peerDependency.
peerDependency
Current Behavior
TypeScript throws error when
vitepress-plugin-search@^1.0.4-alpha.18
is used withvitepress@^1.0.0-alpha.64
.Desired Behavior
vitepress-plugin-search
should be compatible with new non-major versions ofvitepress
.Possible Solution
Remove build dependency on
vitepress
(link) and only maintain itspeerDependency
.