fix(medusa-js): Types for bundler (#5400)

* fix(package.json): add types in exports to help with projects using tsconfig moduleResolution: bundler

* chore: add changeset
This commit is contained in:
Derek Wene
2023-10-19 09:16:56 +02:00
committed by GitHub
parent a27083cd4b
commit 5a5c96e211
3 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},