Skip to content

Commit

Permalink
Update package.json exports for types imports (#747)
Browse files Browse the repository at this point in the history
* Update package.json exports for types

* Update packages/open-next/package.json

Co-authored-by: Victor Berchet <victor@suumit.com>

* Update package.json to remove typesVersions

---------

Co-authored-by: Victor Berchet <victor@suumit.com>
  • Loading branch information
nhardy and vicb authored Feb 19, 2025
1 parent ab7466f commit f96dac7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions packages/open-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@
"dev": "tsc -w"
},
"exports": {
"./*": "./dist/*"
},
"typesVersions": {
"*": {
"*": [
"dist/*"
]
"./*": {
"default": "./dist/*",
"types": "./dist/*.d.ts"
}
},
"keywords": [],
Expand Down

0 comments on commit f96dac7

Please # to comment.