i18n
i18n copied to clipboard
fix: webpack bundler
๐ Linked issue
This PR disables optimizeTranslationDirective when using webpack and refactors the virtual logger to use unplugin:
error enabling
optimizeTranslationDirective
Looks like we need something more to run it with webpack: https://github.com/userquin/nuxt-i18n-pwa-virtual/pull/1
Virtual modules in webpack cannot have ::
error using virtual:nuxt-i18n-logger
error using ~nuxt-i18n/logger
/cc @danielroe there is no way, some hint :pray: about virtuals in webpack?
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
๐ Checklist
- [ ] I have linked an issue or discussion.
- [ ] I have added tests (if possible).
- [ ] I have updated the documentation accordingly.