cern-sis / cern-sis/react-formule
build: investigate on bundle size
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Now that we setup the visualizer, we should start trying to make final output smaller
Things to check:
- [ ] `antd`, `ant-design`, etc shouldnt be bundled? - check `rollupOptions`
- [ ] make bundles so some libraries are loaded on demand (e.g. `codemirror`, `katex`, etc)
- [ ] other solutions
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the build configuration's rollupOptions and the bundle visualizer mentioned in the issue. Check whether antd and related packages are bundled, and assess on-demand loading for codemirror and katex. Done means the final output is smaller, with large libraries excluded or loaded on demand where appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, rollup
- Domain
- build-system, frontend, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100