preactjs / prefresh

Hot Module Reloading for Preact
MIT License
377 stars 48 forks source link

Add import key to export maps #522

Closed JoviDeCroock closed 1 year ago

JoviDeCroock commented 1 year ago

Afaik this shouldn't be needed as it's semantically incorrect but it seems to solve the issue for #521 - A good follow up here would be to offer both a legit ESM with the existing CJS export

Fixes #521

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: a08aab13c2dce226ec583a1f3e7cfa90303ed2af

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

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | @prefresh/vite | 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