Chapter 2: Working with Modules and Code Splitting
Code splitting is the process of automatically organizing your programming ins a modular format. Modular programming is the wider concept.
A Chunk refers to a group of modules.
Dynamic imports are essentially on-demand imports into Webpack. An entry point is a fixed and configured Entry Pint where the build begins processing code from.
Module Chunksusing the preload directive loads in parallel to its parent 'chunk', whereas a prefetched chunk starts after the parent chunk finishes loading. Chunksmust be instantly requested by the parent chunk when preloaded, whereas a prefetched can be used at any time. Chunksusing the preload directive are instantly downloaded when called. A prefetched chunk is downloaded while the browser is idle.
Code linting is the process of removing the unwanted or surplus code.
A promise refers to information returned form a loader.
The SplitChunksPlugin allows the extraction of common dependencies into entry chunks.
This tool will analyze your bundle and give suggestions to reduce your bundle size.
This offers an Interactive pie chart used forWebpackstats.
It is a method for displaying hierarchical data using nested figures, usually rectangles.