bundle-tools icon indicating copy to clipboard operation
bundle-tools copied to clipboard

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

Open so1ve opened this issue 1 year ago • 2 comments

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.

so1ve avatar Jun 03 '24 04:06 so1ve

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

kazupon avatar Jun 03 '24 16:06 kazupon

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

so1ve avatar Jun 03 '24 17:06 so1ve