ivanhofer / typesafe-i18n

A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.

Home Page:https://github.com/ivanhofer/typesafe-i18n

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generate optimized output for single locale exports

ivanhofer opened this issue · comments

typesafe-i18n supports generating types only for a single locale by passing only the desired locale inside the locales watcher-option. This can be useful, if you want to create an own bundle per locale. Since these bundles don't have to include the switching of locales, the output size could be reduced.