Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

fix: declare dependency @vue/composition-api and @vue/runtime-dom #100

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

merceyz
Copy link
Contributor

@merceyz merceyz commented Jan 17, 2022

What's the problem this PR addresses?

unplugin-vue2-script-setup tries to export types from @vue/composition-api and @vue/runtime-dom but declares neither of them as dependencies so they both fail to resolve under strict dependency environments.

How did you fix it?

Declare both as peer dependencies

@antfu antfu merged commit d086d44 into unplugin:main Jan 18, 2022
@merceyz merceyz deleted the merceyz/fix/dependencies branch January 18, 2022 11:47
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants