contentlayerdev / contentlayerdev/contentlayer
Reduce NPM install size (e.g. via bundling the CLI)
Open
improvement
meta: never-stale
topic: performance
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
We should consider whether the NPM install size of Contentlayer (incl. its dependencies) could be decreased in a significant way e.g. via bundling the CLI or making some of the dependencies optional peer dependencies (e.g. Otel).
Related to #47
Notes:
- https://tsh.io/blog/reduce-node-modules-for-better-performance/
- https://twitter.com/_egoistlily/status/1470650565147643907?s=21
Contributor guide
Assessment
This issue has not been assessed yet.