diff --git a/.changeset/angry-ears-prove.md b/.changeset/angry-ears-prove.md new file mode 100644 index 00000000..394e6f87 --- /dev/null +++ b/.changeset/angry-ears-prove.md @@ -0,0 +1,5 @@ +--- +'preact-iso': patch +--- + +Support TS's "NodeNext" module resolution w/ `preact-iso` diff --git a/packages/preact-iso/index.d.ts b/packages/preact-iso/index.d.ts index 85d54f77..70ba4a2f 100644 --- a/packages/preact-iso/index.d.ts +++ b/packages/preact-iso/index.d.ts @@ -1,4 +1,4 @@ -export { default as prerender } from './prerender'; -export * from './router'; -export { default as lazy, ErrorBoundary } from './lazy'; -export { default as hydrate } from './hydrate'; +export { default as prerender } from './prerender.js'; +export * from './router.js'; +export { default as lazy, ErrorBoundary } from './lazy.js'; +export { default as hydrate } from './hydrate.js';