Skip to content

Commit ca0c9f2

Browse files
committed
Expose package.json through exports
Gatsby uses this.
1 parent 1942779 commit ca0c9f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"description": "Add pretty graphs using mermaid and server-side rendering.",
55
"author": "Thomas Biesaart <[email protected]>",
66
"license": "ISC",
7-
"exports": "./index.js",
7+
"exports": {
8+
".": "./index.js",
9+
"./package.json": "./package.json"
10+
},
811
"repository": "remcohaszing/gatsby-remark-mermaid",
912
"funding": "https://github.com/sponsors/remcohaszing",
1013
"bugs": "https://github.com/remcohaszing/gatsby-remark-mermaid/issues",

0 commit comments

Comments
 (0)