-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Huge bundle size #224
Comments
ELK.js is the core layout library - i will investigate if there is a better way to bundle it |
I see that 'elk.bundled' could be potentially replaced with 'elk-api' which reduce bundle size significantly. |
Oh really? Mind sharing details? |
I just tried it as mentioned here: https://github.com/kieler/elkjs#typescript |
Well if you dynamic loaded, wouldn't you still have a large size ( just happens later )? |
Definitely 😞 I was thinking it could be opt'd like the developer can pass the workerUrl from a cdn but for offline development you'd still need the package... Elkjs is a very high weight package as a dependency. |
Ya, ELK is not fun to work with either but it has the best layout engine that I've found. |
I'm submitting a...
Current behavior
Currently bundle size is very big due to elkjs, it effects both the IDE and the performance of the applications.
Expected behavior
Bundle shouldn't be that big.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: