Skip to content

Commit

Permalink
chore: add exports field to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ai committed Apr 15, 2024
1 parent f19babe commit a9ab147
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/plenty-panthers-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@r4ai/remark-callout": patch
---

chore: add exports field to package.json
7 changes: 7 additions & 0 deletions packages/remark-callout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
"url": "https://github.com/r4ai/remark-callout/issues"
},
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit a9ab147

Please sign in to comment.