[Feature] Manual chunks
Open
- Dominant language
- Go
- Stars
- 40.1k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Similar to Rollup's [`manualChunks`](https://rollupjs.org/guide/en/#outputmanualchunks) option, where you can define custom common chunks
```json
{
"manualChunks": {
"common": ["react", "react-dom"]
}
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the linked Rollup manualChunks documentation and compare its behavior with esbuild's current chunking options. Define how the shown manualChunks mapping should affect the generated bundles and verify the result with a small React and react-dom example. Done means named common chunks are produced according to the configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100