microbundle
microbundle copied to clipboard
fix: mains by format fallbacks
Fixes #963
Typo was from https://github.com/developit/microbundle/pull/950
We were missing tests for controlling the output filenames from package.json nearly entirely, both the common fields ("main", "module", etc.) and their alts ("cjs:main", "esmodule", etc.). This adds a test suite for both (though there's still a few untested fields, like nested "exports" and "syntax.esmodule" entry).
🦋 Changeset detected
Latest commit: a624894771419efd18a0f9eda2997f0f648adcd4
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