Closed cernymatej closed 1 week ago
This is likely an upstream bug as you suspect, probably unplugin-vue-i18n
, could you open an issue on its repository? https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n 🙏
Let's leave this issue open while the upstream issue exists, there's probably more users running into this while updating.
For anyone interested in tracking this issue, here is the link: https://github.com/intlify/bundle-tools/issues/402
Environment
Darwin
v20.9.0
3.13.1
3.13.1
2.9.7
pnpm@9.9.0
-
default
@nuxtjs/i18n@9.0.0
-
Reproduction
https://stackblitz.com/edit/github-ffpcjt?file=nuxt.config.ts,components%2FTestComponent.vue,app.vue
Describe the bug
After upgrading from
8.5.3
tov9
, I encountered several pre-transform errors. In my main project, it was the following error message:Pre-transform error: '>' expected.
I tracked this down to an issue with parsing TSX templates.While stripping down the project to identify the root cause, I also encountered the following errors:
and
The last one is present in the minimal reproduction linked above.
This issue wasn’t present in
8.5.3
. I suspect it might be an upstream bug. However, I'm not sure where to report it.Additional context
This seems to work fine:
Logs
No response