-
Couldn't load subscription status.
- Fork 402
feat(localizations): Allow the usage of subpath imports #2046
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
Conversation
🦋 Changeset detectedLatest commit: 93595d4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hey Andrew, thanks for the PR! Seems like a good change, however we'll need to test this a bit more since we have made the experience in the past (with the revamped https://github.com/clerk/clerk-expo-starter should be a good starting ground to test. I won't get to testing this today and will be on vacation soon, I'll make sure to hand this PR off to a colleague then. |
|
Thanks @LekoArts, looking forward to getting this merged. Let me know if I can help you with the testing. |
The addition of `.gitignore` and `subpaths.mjs` is used to support Expo framework. This fix is also used in `@clerk/shared` package. original PR: #2046 Co-authored-by: MonsterDeveloper
The addition of `.gitignore` and `subpaths.mjs` is used to support Expo framework. This fix is also used in `@clerk/shared` package. original PR: #2046 Co-authored-by: Andrew <slider7259@gmail.com>
|
Hello @MonsterDeveloper 👋 , |
The addition of `.gitignore` and `subpaths.mjs` is used to support Expo framework. This fix is also used in `@clerk/shared` package. original PR: #2046 Co-authored-by: Andrew <slider7259@gmail.com>
|
Thanks @dimkl ! Looking forward to getting this new PR merged. |
* feat(localizations): Allow usage of subpath exports The addition of `.gitignore` and `subpaths.mjs` is used to support Expo framework. This fix is also used in `@clerk/shared` package. original PR: #2046 Co-authored-by: Andrew <slider7259@gmail.com> * update changeset --------- Co-authored-by: Andrew <slider7259@gmail.com> Co-authored-by: Lennart <lekoarts@gmail.com>

Description
The
localizationspackage now allows for subpath exports.This should help with tree-shaking by helping the bundler to include only specific localization.
This is a non-breaking change-previous imports from
@clerk/localizationsare still working as expected.Checklist
npm testruns as expected.npm run buildruns as expected.Type of change
Packages affected
@clerk/backend@clerk/chrome-extension@clerk/clerk-js@clerk/clerk-expo@clerk/fastifygatsby-plugin-clerk@clerk/localizations@clerk/nextjs@clerk/clerk-react@clerk/remix@clerk/clerk-sdk-node@clerk/shared@clerk/themes@clerk/typesbuild/tooling/chore