Skip to content

Commit

Permalink
Update package json exports to include type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjm committed Mar 6, 2023
1 parent daca282 commit aa7959f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/graphql-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"types": "./index.d.ts"
},
"./*": {
"require": "./dist/*.js",
"import": "./dist/*.mjs"
"import": "./dist/*.mjs",
"types": "./*.d.ts"
}
},
"typings": "dist/index.d.ts",
Expand Down

0 comments on commit aa7959f

Please sign in to comment.