Skip to content

Commit

Permalink
Merge pull request #603 from storyblok/fix/ts-types-export-config
Browse files Browse the repository at this point in the history
fix: add exports TS types files in root package.json
  • Loading branch information
ademarCardoso authored Jul 5, 2023
2 parents 7dfdd54 + 5c651dd commit 7ca60a4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
"require": "./dist/index.umd.js",
"types": "./dist/types/entry.esm.d.ts"
},
"./richTextResolver": {
"import": "./dist/richTextResolver.mjs",
"require": "./dist/richTextResolver.umd.js"
"require": "./dist/richTextResolver.umd.js",
"types": "./dist/types/richTextResolver.d.ts"
},
"./schema": {
"import": "./dist/schema.mjs",
"require": "./dist/schema.umd.js"
"require": "./dist/schema.umd.js",
"types": "./dist/types/schema.d.ts"
}
},
"files": [
Expand Down Expand Up @@ -123,4 +126,4 @@
"trailingComma": "es5",
"useTabs": true
}
}
}

0 comments on commit 7ca60a4

Please sign in to comment.