Skip to content

Commit

Permalink
Partially fix type exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
evoactivity committed Sep 19, 2023
1 parent 0fa0ce4 commit a4f3d67
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-bobcats-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@iptv/playlist": patch
---

Partially fix type exports in package.json
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/playlist.js",
"require": "./dist/playlist.umd.cjs"
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/playlist.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/playlist.umd.cjs"
}
}
},
"publishConfig": {
Expand Down

0 comments on commit a4f3d67

Please sign in to comment.