-
Notifications
You must be signed in to change notification settings - Fork 538
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
refactor(react): remove wildcard imports #5075
Conversation
🦋 Changeset detectedLatest commit: a94f4f7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
size-limit report 📦
|
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
Closes https://github.com/github/primer/issues/3688
Update our package in
@primer/react
to no longer allow wildcard imports. This will allow us to explicitly define files that folks can import from@primer/react
and means that we can avoid ourinternal
convention in the future.Changelog
New
Changed
Removed
Rollout strategy
We have added wildcard imports that are used to our named entrypoints. As a result, we are going to update imports upstream to use these instead of named entrypoints.