rspack-split-chunks
Installation
SKILL.md
Rspack SplitChunks Optimization
Use this skill when the task is to recommend, review, or debug optimization.splitChunks. If you are using ESM library, it's not the same algorithm of this skill.
Default stance
- Distinguish repo defaults from recommended production baselines.
- Rspack's built-in default is
chunks: "async", but for most production web apps the best starting point is:
optimization: {
splitChunks: {
chunks: "all",
},
}