Skip to content

Commit

Permalink
fix(build): also use object notation for root export
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrom committed Sep 30, 2024
1 parent 20cd2bd commit 8b46901
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"dist"
],
"exports": {
".": "./dist/index.js",
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./extensions/fileWriter": {
"types": "./dist/extensions/fileWriter.d.ts",
"default": "./dist/extensions/fileWriter.js"
Expand Down

0 comments on commit 8b46901

Please sign in to comment.