Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
Enable new esm module
  • Loading branch information
netfl0 authored May 6, 2022
1 parent c883631 commit 426d9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "mermaid",
"version": "9.0.1",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"main": "dist/mermaid.core.js",
"main": "dist/mermaid.js",
"module": "dist/mermaid.esm.min.mjs",
"exports": {
".": {
"require": "./dist/mermaid.core.js",
"require": "./dist/mermaid.js",
"import": "./dist/mermaid.esm.min.mjs"
},
"./*": "./*"
Expand Down

0 comments on commit 426d9f3

Please sign in to comment.