Skip to content

Commit

Permalink
fix(build): subpath exports as objects
Browse files Browse the repository at this point in the history
  • Loading branch information
bostrom committed Sep 30, 2024
1 parent 9e10493 commit 20cd2bd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@
],
"exports": {
".": "./dist/index.js",
"./extensions/*": "./dist/extensions/*.js"
"./extensions/fileWriter": {
"types": "./dist/extensions/fileWriter.d.ts",
"default": "./dist/extensions/fileWriter.js"
},
"./extensions/bubbleTail": {
"types": "./dist/extensions/bubbleTail.d.ts",
"default": "./dist/extensions/bubbleTail.js"
}
},
"scripts": {
"prepare": "husky",
Expand Down

0 comments on commit 20cd2bd

Please sign in to comment.