Files
gods-eye-view/changelog.d/1421-style-modules-skip-catalogs.md
T
Sameh Khamis 15de9d738c fix(i18n): mark style labels without loading the catalogs (#1421)
The style shaders and visualPresets imported msg() from src/i18n/index.js,
which loads every locale catalog. The share-view codec reads the styles'
defaults, so a server bundling the codec carried about 0.9 MB of
translations it never uses. They now import the catalog-free marker, as
other portable modules do; the codec's bundle drops from about 1 MB to
130 KB.
2026-10-26 16:54:01 -07:00

227 B

  • The visual styles and their presets mark their labels with the catalog-free msg(), so the share-link codec, and any server that loads it, no longer bundles every translation catalog (about 0.9 MB) (samehkhamis, #1421).