Skip to content

Commit

Permalink
fix: Fixes exports to correctly export test utils (#921)
Browse files Browse the repository at this point in the history
This change slightly adjusts the exports in this repo's package.json in order to expose the required test utilities to consumers.

While it works to provide the alias within 529bc1f, it's slightly confusing to consumers who expect the export to map to a real path on disc.

Relates to #920 and tweaks 529bc1f to use correct path.
  • Loading branch information
scalvert committed Jul 20, 2022
1 parent 3670deb commit a5abf60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "module",
"exports": {
".": "./lib/index.js",
"./test/util.js": "./test/util/index.js"
"./test/util/index.js": "./test/util/index.js"
},
"files": [
"bin",
Expand Down

0 comments on commit a5abf60

Please sign in to comment.