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

[WIP] Update the react-i18n babel plugin to create chunks for each translation #2631

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vsumner
Copy link
Contributor

@vsumner vsumner commented Apr 17, 2023

Description

This PR adds [request] or locale to the chunk names for locale files. This allows individual locales to be split into separate chunks during build and development.

Fixes (issue #)

@vsumner
Copy link
Contributor Author

vsumner commented Apr 19, 2023

/snapit

@vsumner
Copy link
Contributor Author

vsumner commented Apr 26, 2023

/snapit

@github-actions
Copy link
Contributor

🫰✨ Thanks @vsumner! Your snapshots have been published to npm.

Test the snapshots by updating your package.json with the newly published versions:

yarn add @shopify/react-i18n@0.0.0-snapshot-20230426132916
yarn add @shopify/react-i18n-universal-provider@0.0.0-snapshot-20230426132916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant