Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Add package exports#52

Open
remcohaszing wants to merge 1 commit intomicrosoft:mainfrom
remcohaszing:fix-package-exports
Open

Add package exports#52
remcohaszing wants to merge 1 commit intomicrosoft:mainfrom
remcohaszing:fix-package-exports

Conversation

@remcohaszing
Copy link

The browser export condition now resolves to browser code. Everything else resolves to the Node.js code. Also exports were added for ./browser and ./node with and without extensions, as it seems to be intentional to support those imports.

The `browser` export condition now resolves to browser code. Everything
else resolves to the Node.js code. Also exports were added for
`./browser` and `./node` with and without extensions, as it seems to be
intentional to support those imports.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant