bundle-tools
bundle-tools copied to clipboard
Generated `messages` virtual file contains syntax error when some locale files written in yaml is empty
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
- [X] Read the Contributing Guidelines.
- [X] Read the README
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Thank you for your reporting! I'll try to reproduce this issue later. :)
Thanks! Sorry for the inconvenience, I'm unable to use my PC now 😓