Skip to content

Commit

Permalink
[v3] use dynamic import for loading mermaid (#2994)
Browse files Browse the repository at this point in the history
* update mermaid

* update mermaid

* pnpm i

* use stable version
  • Loading branch information
Dimitri POSTOLOV authored Jul 20, 2024
1 parent 1699ab1 commit a8c2196
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
7 changes: 7 additions & 0 deletions .changeset/grumpy-apples-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"nextra-theme-blog": patch
"nextra-theme-docs": patch
"nextra": patch
---

use dynamic import for loading `mermaid`
2 changes: 1 addition & 1 deletion packages/nextra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"@mdx-js/react": "^3.0.0",
"@napi-rs/simple-git": "^0.1.9",
"@shikijs/twoslash": "^1.0.0",
"@theguild/remark-mermaid": "^0.0.5",
"@theguild/remark-mermaid": "^0.0.7",
"@theguild/remark-npm2yarn": "0.3.0",
"better-react-mathjax": "^2.0.3",
"clsx": "^2.0.0",
Expand Down
21 changes: 7 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8c2196

Please sign in to comment.