Skip to content

Commit

Permalink
fix: correctly expose TS types in package.json exports
Browse files Browse the repository at this point in the history
Ensure that types are exported
  • Loading branch information
3cp committed May 10, 2023
2 parents 36e4783 + fb350fc commit 94be7f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"unpkg": "dist/meriyah.umd.min.js",
"exports": {
"import": "./dist/meriyah.esm.mjs",
"require": "./dist/meriyah.cjs"
"require": "./dist/meriyah.cjs",
"types": "./dist/src/meriyah.d.ts"
},
"types": "dist/src/meriyah.d.ts",
"typings": "dist/src/meriyah.d.ts",
Expand Down

0 comments on commit 94be7f9

Please sign in to comment.