logoalt Hacker News

latchkeyyesterday at 8:24 PM1 replyview on HN

You're not really answering the question.

That's the bundle size, not the amount of code in the project.

I've done nothing to try to optimize the bundle size, but I suspect that a lot of it has to do with some of the third party dependencies like mermaid.


Replies

weszyesterday at 8:49 PM

Well, i downloaded firefox extension and checked the size of only *.js files without any additional assests - and it's 2 megabytes. Mermaid is around 800kb, so it still leaves over 1 megabyte of javascript.

The amount of abstraction alone for the project of this scope makes me cringe. You introduce unnecessary complexity.

show 2 replies