Replies: 1 comment 7 replies
-
we've had a ton of discussions on this and from what I've seen at big tech, either they don't do it, or they split per feature (https://formatjs.io/docs/guides/distribute-libraries). |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think it is possible, but would be great if cli can support it.
The idea is this:
formatjs extract
to extract all stringsformatjs extract
against the bundle to get the strings usedformatjs compile
taking in both 1, 2, and 4, to produce localized messages that are actually used.I think we can do step 1-4 already (a small question on 4, may need to do that during bundle instead of after bundle).
Step 5 is what's missing to today, AFAIK.
Beta Was this translation helpful? Give feedback.
All reactions