From 0a5bc9647d3f955282b03154ae3164e9fe40e927 Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:52:25 -0800 Subject: [PATCH] Desktop: Reduce application size (#11505) --- packages/renderer/package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/renderer/package.json b/packages/renderer/package.json index 96e15930c..456e1282a 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -18,12 +18,15 @@ }, "author": "", "license": "AGPL-3.0-or-later", + + "//": "Mermaid is bundled by buildAssets.js -- using it as an unbundled dependency significantly increases app size.", "devDependencies": { "@types/jest": "29.5.12", "@types/markdown-it": "13.0.9", "@types/node": "18.19.50", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", + "mermaid": "11.4.0", "ts-jest": "29.1.5", "typescript": "5.4.5" }, @@ -50,8 +53,7 @@ "markdown-it-sub": "1.0.0", "markdown-it-sup": "2.0.0", "markdown-it-toc-done-right": "4.2.0", - "md5": "2.3.0", - "mermaid": "11.4.0" + "md5": "2.3.0" }, "gitHead": "05a29b450962bf05a8642bbd39446a1f679a96ba" }