developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.04k stars 362 forks source link

Resolve using "node" export condition for --target node #887

Closed developit closed 2 years ago

developit commented 3 years ago

When bundling for a Node.js target, Microbundle should follow the "node" conditional package export key to match Node's own resolution. Fixes #886.

changeset-bot[bot] commented 3 years ago

🦋 Changeset detected

Latest commit: d91cd3b066a21a6caed98cf67e234af6b04f6fbd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | microbundle | Patch |

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