preactjs / wmr

👩‍🚀 The tiny all-in-one development tool for modern web apps.
https://wmr.dev/
MIT License
4.92k stars 109 forks source link

fix: `preact-iso`'s types with TS's "NodeNext" resolution #947

Open rschristian opened 1 year ago

rschristian commented 1 year ago

TS with "moduleResolution": "NodeNext" will fail to resolve preact-iso's types as they don't use the .js extension in their imports to reference the .d.ts files.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: d96f58b4e2c937224f41b9a780f00c803ecc83fe

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

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | preact-iso | 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

github-actions[bot] commented 1 year ago

Size Change: 0 B

Total Size: 6.37 kB

ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `packages/preact-iso/.dist/index.********.js` | 1.71 kB | | `packages/preact-iso/.dist/prerender.********.js` | 377 B | | `packages/preact-iso/hydrate.js` | 290 B | | `packages/preact-iso/index.js` | 195 B | | `packages/preact-iso/lazy.js` | 594 B | | `packages/preact-iso/prerender.js` | 656 B | | `packages/preact-iso/router.js` | 2.54 kB |

compressed-size-action