fix: fix exports

"types" import should always be first
This commit is contained in:
Mr.Hope 2023-02-23 15:20:17 +08:00 committed by GitHub
parent f3b313ec1d
commit f8abc9c6d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@
"types": "./dist/mermaid.d.ts", "types": "./dist/mermaid.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./dist/mermaid.core.mjs", "types": "./dist/mermaid.d.ts",
"types": "./dist/mermaid.d.ts" "import": "./dist/mermaid.core.mjs"
}, },
"./*": "./*" "./*": "./*"
}, },