Skip to content

fix: correct prefixed component name #871

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

Merged
merged 2 commits into from
Aug 6, 2025
Merged

Conversation

ilyaliao
Copy link
Collaborator

@ilyaliao ilyaliao commented Aug 1, 2025

Description

The prefix option from #850 was only applied to type declarations, which caused a resolution failure during the transform stage.

This PR corrects the behavior by applying the prefix to the internal componentNameMap and adds tests to prevent regressions.

@ilyaliao ilyaliao requested a review from antfu as a code owner August 1, 2025 13:26
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu antfu merged commit 336b862 into unplugin:main Aug 6, 2025
6 checks passed
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.

2 participants