Add missing entry point for generic typings (#284)
This commit is contained in:
parent
9098efb670
commit
8ff42af48c
2 changed files with 8 additions and 0 deletions
5
.changeset/fifty-mangos-know.md
Normal file
5
.changeset/fifty-mangos-know.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@saleor/app-sdk": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Added export path "@saleor/app-sdk/types". It was accessible but not correctly marked in package.json. Now its added in "exports" field which should fix some bundles and IDEs
|
|
@ -134,6 +134,9 @@
|
||||||
"types": "./headers.d.ts",
|
"types": "./headers.d.ts",
|
||||||
"import": "./headers.mjs",
|
"import": "./headers.mjs",
|
||||||
"require": "./headers.js"
|
"require": "./headers.js"
|
||||||
|
},
|
||||||
|
"./types": {
|
||||||
|
"types": "./types.d.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|
Loading…
Reference in a new issue