Skip to content

Commit

Permalink
Add types field to package exports for module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
nekoya committed Nov 29, 2023
1 parent 91f81a9 commit 71bc094
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 @@ -21,7 +21,8 @@
"exports": {
".": {
"import": "./dist/tiptap-markdown.es.js",
"require": "./dist/tiptap-markdown.umd.js"
"require": "./dist/tiptap-markdown.umd.js",
"types": "./index.d.ts"
}
},
"files": [
Expand Down

0 comments on commit 71bc094

Please sign in to comment.