Skip to content

Simplify package.json exports to remove unnecessary imports restriction#408

Merged
TooTallNate merged 1 commit into
TooTallNate:mainfrom
KrayzeeKev:main
Apr 1, 2026
Merged

Simplify package.json exports to remove unnecessary imports restriction#408
TooTallNate merged 1 commit into
TooTallNate:mainfrom
KrayzeeKev:main

Conversation

@KrayzeeKev

Copy link
Copy Markdown
Contributor

The current exports in package.json files is overly specified. It does not require the "imports" section.

in its current form, it actively prevents certain use cases because there is no default export. This change allows all consumers of the module to import/require/otherwise the module.

It is NOT an attempt to support CJS within the module. Only to more widely support the entire ecosystem while reducing complexity.

@vercel

vercel Bot commented Apr 1, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Nathan Rajlich's projects Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Apr 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d1f704d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@TooTallNate

Copy link
Copy Markdown
Owner

Oof, ya, I'm good with this. The import there was definitely an oversight. Thank you!

@TooTallNate TooTallNate merged commit 5c6860f into TooTallNate:main Apr 1, 2026
1 check failed
TooTallNate pushed a commit that referenced this pull request Apr 1, 2026
…on (#408)

Co-authored-by: Kevin Lentin <kevin.lentin@team.telstra.com>
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.

2 participants