Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export needed locales using @ResourceIdentifier #812

Open
mosuem opened this issue Mar 14, 2024 · 0 comments
Open

Export needed locales using @ResourceIdentifier #812

mosuem opened this issue Mar 14, 2024 · 0 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@mosuem
Copy link
Member

mosuem commented Mar 14, 2024

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.

@mosuem mosuem added the type-enhancement A request for a change that isn't a bug label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant