Skip to content

Remove mermaid from most Rollup processing

Sarah German requested to merge mermaid-rollup into main

The JavaScript build process has gotten noticeably slower. About half the time is spent bundling mermaid.js.

Since mermaid.js includes a browser-ready dist version, we can copy that over to the public directory rather than bundling and compiling it ourselves through Rollup.

Before After
yarn bundle (local machine) 86.43s (41.7s for mermaid.js) 56.85s

Merge request reports