Skip to content

Commit f96dac7

Browse files
nhardyvicb
andauthored
Update package.json exports for types imports (#747)
* 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>
1 parent ab7466f commit f96dac7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

packages/open-next/package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@
1717
"dev": "tsc -w"
1818
},
1919
"exports": {
20-
"./*": "./dist/*"
21-
},
22-
"typesVersions": {
23-
"*": {
24-
"*": [
25-
"dist/*"
26-
]
20+
"./*": {
21+
"default": "./dist/*",
22+
"types": "./dist/*.d.ts"
2723
}
2824
},
2925
"keywords": [],

0 commit comments

Comments
 (0)