To be able to treeshake out unused locales, we should also report the used locales using the @ResourceIdentifier annotation. This would of course require for the locales to be known at compile time, so ideally be a const list set by the user. Otherwise, we should default to a sensible predetermined const list.
To be able to treeshake out unused locales, we should also report the used locales using the
@ResourceIdentifier
annotation. This would of course require for the locales to be known at compile time, so ideally be aconst
list set by the user. Otherwise, we should default to a sensible predeterminedconst
list.