mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 13:46:43 +02:00
chore: Fix examples exports
This commit is contained in:
@@ -4,9 +4,16 @@
|
|||||||
"description": "Mermaid examples package",
|
"description": "Mermaid examples package",
|
||||||
"author": "Sidharth Vinod",
|
"author": "Sidharth Vinod",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"module": "./dist/mermaid-examples.core.mjs",
|
||||||
"module": "dist/index.js",
|
"types": "./dist/mermaid.d.ts",
|
||||||
"types": "dist/index.d.ts",
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"import": "./dist/mermaid-examples.core.mjs",
|
||||||
|
"default": "./dist/mermaid-examples.core.mjs"
|
||||||
|
},
|
||||||
|
"./*": "./*"
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"composite": true,
|
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "NodeNext"
|
"moduleResolution": "NodeNext"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user