i18n icon indicating copy to clipboard operation
i18n copied to clipboard

fix: webpack bundler

Open userquin opened this issue 1 year ago โ€ข 0 comments

๐Ÿ”— Linked issue

This PR disables optimizeTranslationDirective when using webpack and refactors the virtual logger to use unplugin:

imagen 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 ::

imagen error using virtual:nuxt-i18n-logger

imagen 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.

userquin avatar Sep 21 '24 19:09 userquin