Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle both script and script setup #6

Merged
merged 2 commits into from
May 30, 2024
Merged

Conversation

CasualSuperman
Copy link
Contributor

#5 was a step in the right direction, but .vue files can have both <script> and <script setup>, so we need to check for dependencies from both of them.

@Havunen
Copy link
Collaborator

Havunen commented May 30, 2024

Right, please add a new test case to cover this case also

@CasualSuperman
Copy link
Contributor Author

Slipped my mind, added!

Copy link
Collaborator

@Havunen Havunen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the contribution!

@Havunen Havunen merged commit 3f95dc7 into dependents:main May 30, 2024
7 checks passed
@Havunen
Copy link
Collaborator

Havunen commented May 30, 2024

Published in v2.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants