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

fix(vue): skip transpilation with multiple script blocks #243

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

danielroe
Copy link
Member

mkdist currently only transforms first block of each type in vue files.

This is a hotfix to handle an issue where the first <script> block is transpiled, and the second one isn't, which yields a vue compiler error (because lang should match between script blocks).

We would need to support handling multiple script blocks in future.

related: #209

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.

1 participant