github lynx-family/lynx-stack @lynx-js/i18next-translation-dedupe@0.0.1

latest releases: @lynx-js/css-extract-webpack-plugin@0.7.1, upgrade-rspeedy@0.14.3, @lynx-js/template-webpack-plugin@0.11.0...
5 hours ago

Patch Changes

  • Introduce @lynx-js/i18next-translation-dedupe package to avoid bundling i18next translations twice in Lynx apps. (#2482)

    The package reads translations extracted by rsbuild-plugin-i18next-extractor, skips the extractor's default rendered asset, and writes the translations into the Lynx bundle custom section:

    {
      "customSections": {
        "i18next-translations": {
          "content": {
            "en-US": {
              "hello": "Hello"
            },
            "zh-CN": {
              "hello": "你好"
            }
          }
        }
      }
    }

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.