We will conclude this chapter with a set of questions to test your knowledge. The answers to these questions can be found in the back of this book, in the Assessment section:
- What is the difference between code splitting and modular programming?
- What is a code chunk?
- How do dynamic imports differ from entry points?
- How are preload directives preferable to prefetch directives?
- What is meant by code linting?
- What is meant by the term promise?
- How does SplitChunksPlugin prevent duplication?
- What does the webpack-bundle-optimize-helper tool offer?
- What does the webpack-chart plugin do?
- What is treemapping?