SchwarzIT / onyx

🚀 A design system and Vue.js component library created by Schwarz IT
https://onyx.schwarz
Apache License 2.0
55 stars 6 forks source link

fix(nuxt): i18n locales not resolvable #1456

Closed larsrickert closed 3 months ago

larsrickert commented 3 months ago

Relates to #1345

We can not use.ts files for the locales because they are compiled to .js files when running the build so currently the following error is thrown when starting a Nuxt project with our onyx module: ERROR ENOENT: no such file or directory, open '/node_modules/@sit-onyx/nuxt/dist/runtime/locales/de-DE.ts'

Checklist

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: a33ac6a1cc8fc1c1073081a7469dd369d37c7e1e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | @sit-onyx/nuxt | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR