Skip to content

Commit

Permalink
Support TypeScript node16/nodenext module resolution
Browse files Browse the repository at this point in the history
Bundling in this ecosystem just gets more and more confusing. The most
relevant summary I could find:
  microsoft/TypeScript#50794
  • Loading branch information
samhh committed Apr 14, 2023
1 parent 1d8dc46 commit d393ae0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project adheres to semantic versioning.

## 0.16.1 (*Unreleased*)

- Support TypeScript's `node16`/`nodenext` module resolutions.

## 0.16.0 (2023-04-10)

- Add `IOOption` module.
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
".": "./dist/cjs/index.js",
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./*": {
"types": "./dist/types/*.d.ts",
"require": "./dist/cjs/*.js",
"import": "./dist/esm/*.js"
}
Expand Down

0 comments on commit d393ae0

Please sign in to comment.