hypothesis / hypothesis/annotation-ui

Find a way to dynamically load heavy dependencies

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
3
PR merge metrics
No merged PRs in 30d

Description

This library uses katex, which is a big dependency that gets bundled even if you end up not using any of the code branches that use it.

Rollup supports splitting individual code bundle chunks for code that's imported dynamically via `import(...)`, so we could do that with heavy dependencies.

This requires checking how consuming libraries can then also load those chunks on demand, since they will need to be served independently of the main bundle.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.