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

Tweak package.json#exports manifest #160

Merged
merged 1 commit into from Apr 4, 2023

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Apr 3, 2023

My main motivation behind this PR was to fix types. When using this package without node and browser conditions the types couldn't be found.

I've reexamined the structure of the declared exports and I concluded that they are a little bit over-engineered since, as far as I can tell, you are actually not shipping any env-specific code. So it should be possible to simplify this to only those basic~ conditions

@xnimorz
Copy link
Owner

xnimorz commented Apr 4, 2023

Hey @Andarist
Thank you for your contribution!

@xnimorz
Copy link
Owner

xnimorz commented Apr 4, 2023

I'll cut a new release shortly

@xnimorz xnimorz merged commit 370a9e6 into xnimorz:master Apr 4, 2023
1 check passed
@Andarist Andarist deleted the tweak-exports branch April 4, 2023 22:11
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

2 participants