Skip to content

Commit

Permalink
chore: 🚚 restructure exports config
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit committed Aug 25, 2024
1 parent e28c4b9 commit 172334b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-rabbits-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@akashrajpurohit/ts-npm-template": patch
---

chore: :truck: restructure exports config
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit 172334b

Please sign in to comment.