nuxt / modules

Discover the Nuxt modules to add any CMS, Database, UI, Auth and integrations into your Vue application.
https://nuxt.com/modules
MIT License
928 stars 256 forks source link

feat: add `nuxt-i18n-micro` #1048

Closed s00d closed 1 month ago

s00d commented 1 month ago

πŸ”— Linked issue

Closes https://github.com/nuxt/modules/issues/1047

❓ Type of change

πŸ“š Description

The Nuxt I18n Micro module was created to address critical performance issues found in the original nuxt-i18n module, particularly in high-traffic environments and projects with large translation files. Key issues with nuxt-i18n include:

High Memory Consumption: Consumes significant memory during both build and runtime, leading to performance bottlenecks. Slow Performance: Especially with large translation files, it causes noticeable slowdowns in build times and server response. Large Bundle Size: Generates a large bundle, negatively impacting application performance. Memory Leaks and Bugs: Known for memory leaks and unpredictable behavior under heavy load.

s00d commented 1 month ago

Hey @atinux, @danielroe. Could you please take a moment to review this pull request? Thanks!