Question 9 of 10Pro Only
What techniques do you use to reduce build time and bundle size in a large-scale frontend project?
Sample answer preview
Build optimization addresses two axes: reducing build time for developer experience and CI, and reducing bundle size for the end user. Reducing build time. Persistent cache. webpack 5 offers a filesystem cache that persists between builds. Enable cache with type filesystem.
cacheparallelizationesbuild-loaderbundle analyzerlazy loadingpolyfills