Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Mermaid to v9.3.0 #642

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Upgrade Mermaid to v9.3.0 #642

merged 1 commit into from
Feb 3, 2023

Conversation

tom-blake
Copy link
Contributor

We noticed that the size of ProseCode component javascript was >1MB. This is due to the mermaid package being so large. Upgrading this library comes with a 31% size reduction out of the box - mermaid-js/mermaid#3825

Test plan:

  • Check the mermaid diagrams are rendering as expected
  • Check there are no visual regressions around the mermaid diagrams
  • Test on Chrome, Edge, Firefox and Safari

We noticed that the size of ProseCode component javascript was >1MB. This is due
to the mermaid package being so large. Upgrading this library comes with a 31%
size reduction out of the box - mermaid-js/mermaid#3825

Test plan:
- Check the mermaid diagrams are rendering as expected
- Check there are no visual regressions around the mermaid diagrams
- Test on Chrome, Edge, Firefox and Safari
@tom-blake tom-blake merged commit 99c2ac6 into master Feb 3, 2023
@tom-blake tom-blake deleted the upgrade-mermaid branch February 3, 2023 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants