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

Generated messages virtual file contains syntax error when some locale files written in yaml is empty #374

Open
4 tasks done
so1ve opened this issue Jun 3, 2024 · 2 comments
Labels

Comments

@so1ve
Copy link

so1ve commented Jun 3, 2024

Reporting a bug?

Generated messages virtual file contains syntax error when some locale files written in yaml is empty

Expected behavior

Should not contain syntax errors.

Reproduction

Unable to create a "minimal" one now, but soon

But it should be pretty straight-forward to reproduce using such configuration: vite.config.ts

Issue Package

unplugin-vue-i18n

System Info

Unable to run the command now - will update later using my PC

Screenshot

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Read the README
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion.
@so1ve so1ve added the Status: Review Needed Request for review comments label Jun 3, 2024
@kazupon
Copy link
Member

kazupon commented Jun 3, 2024

Thank you for your reporting!
I'll try to reproduce this issue later. :)

@so1ve
Copy link
Author

so1ve commented Jun 3, 2024

Thanks! Sorry for the inconvenience, I'm unable to use my PC now 😓

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

No branches or pull requests

2 participants